File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 11plugins  {
2+   alias libs. plugins. errorprone
23  alias libs. plugins. indra
4+   alias libs. plugins. indra. checkstyle
35  alias libs. plugins. indra. licenseHeader
46  alias libs. plugins. indra. sonatype
5-   alias libs. plugins. indra. checkstyle
67}
78
89group =  " net.kyori" 
@@ -16,6 +17,7 @@ indraSonatype {
1617dependencies  {
1718  compileOnlyApi libs. jetbrainsAnnotations
1819  implementation gradleApi()
20+   
1921  testImplementation platform(libs. junit. bom)
2022  testImplementation libs. junit. api
2123  testRuntimeOnly libs. junit. engine
@@ -32,9 +34,11 @@ allprojects {
3234  apply plugin : " net.kyori.indra.license-header" 
3335  apply plugin : " net.kyori.indra.publishing" 
3436  apply plugin : " net.kyori.indra.checkstyle" 
37+   apply plugin : " net.ltgt.errorprone" 
3538
3639  dependencies {
3740    checkstyle(libs. stylecheck)
41+     errorprone(libs. errorprone)
3842  }
3943
4044  indra {
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ checkstyle = "10.3.3"
66indra  = " 2.1.1" 
77junit  = " 5.9.0" 
88stylecheck  = " 0.2.0" 
9+ errorprone  = " 2.15.0" 
910
1011[libraries ]
1112jetbrainsAnnotations  = " org.jetbrains:annotations:23.0.0" 
@@ -18,6 +19,7 @@ junit-platformCommons = { module = "org.junit.platform:junit-platform-commons" }
1819
1920#  build
2021stylecheck  = { module  = " ca.stellardrift:stylecheck" version.ref  = " stylecheck" 
22+ errorprone  = { module  = " com.google.errorprone:error_prone_core" version.ref  = " errorprone" 
2123
2224#  for renovate, do not use
2325zCheckstyle  = { module  = " com.puppycrawl.tools:checkstyle" version.ref  = " checkstyle" 
@@ -27,3 +29,4 @@ indra = { id = "net.kyori.indra", version.ref = "indra" }
2729indra-checkstyle  = { id  = " net.kyori.indra.checkstyle" version.ref  = " indra" 
2830indra-licenseHeader  = { id  = " net.kyori.indra.license-header" version.ref  = " indra" 
2931indra-sonatype  = { id  = " net.kyori.indra.publishing.sonatype" version.ref  = " indra" 
32+ errorprone  = " net.ltgt.errorprone:2.0.2" 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments