build: Update Gradle and plugins, small cleanup to build scripts

This commit is contained in:
Jason Penilla 2021-06-14 05:33:09 -07:00 committed by Jason
parent 9692593095
commit fb48a3c8af
19 changed files with 245 additions and 189 deletions

49
gradle/libs.versions.yml Normal file
View file

@ -0,0 +1,49 @@
metadata:
format: { version: 1.0 }
polyglot-extensions:
- plugins
plugins:
com.github.johnrengelman.shadow: 7.0.0
net.ltgt.errorprone: 2.0.1
com.github.ben-manes.versions: 0.36.0
versions:
checkerQual: 3.14.0
# build-logic
checkstyle: 8.39
indra: 2.0.5
testLoggerPlugin: 3.0.0
errorpronePlugin: 2.0.1
licenser: 0.6.0
dependencies:
checkerQual:
group: org.checkerframework
name: checker-qual
version: { ref: checkerQual }
# build-logic
indraCommon:
group: net.kyori
name: indra-common
version: { ref: indra }
indraPublishingSonatype:
group: net.kyori
name: indra-publishing-sonatype
version: { ref: indra }
licenser:
group: gradle.plugin.org.cadixdev.gradle
name: licenser
version: { ref: licenser }
testLoggerPlugin:
group: com.adarshr
name: gradle-test-logger-plugin
version: { ref: testLoggerPlugin }
errorpronePlugin:
group: net.ltgt.gradle
name: gradle-errorprone-plugin
version: { ref: errorpronePlugin }
bundles:

View file

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists