File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,11 +5,11 @@ plugins {
55 id(" java" )
66 id(" java-library" )
77 id(" maven-publish" )
8- id(" com.github.johnrengelman.shadow" ) version " 5.2 .0" apply false
8+ id(" com.github.johnrengelman.shadow" ) version " 7.0 .0" apply false
99 id(" org.shipkit.shipkit-auto-version" ) version " 1.1.1"
1010 id(" org.shipkit.shipkit-changelog" ) version " 1.1.4"
1111 id(" org.shipkit.shipkit-github-release" ) version " 1.1.4"
12- id(" dev.minco.gradle.defaults-plugin" ) version " 0.2.8 "
12+ id(" dev.minco.gradle.defaults-plugin" ) version " 0.2.26 "
1313}
1414
1515apply (from = " properties.gradle" )
@@ -69,10 +69,11 @@ allprojects {
6969dependencies {
7070 testImplementation(" junit:junit:4.13.2" )
7171 implementation(" me.nallar.whocalled:WhoCalled:1.1" )
72- api(" dev.minco:java-transformer:1.10.1 " )
72+ api(" dev.minco:java-transformer:1.10.6 " )
7373
74- val lombok = " org.projectlombok:lombok:1.18.18"
75- implementation(lombok)
74+ val lombok = " org.projectlombok:lombok:1.18.20"
75+ compileOnly(lombok)
76+ testCompileOnly(lombok)
7677 annotationProcessor(lombok)
7778 testAnnotationProcessor(lombok)
7879}
Original file line number Diff line number Diff line change @@ -10,8 +10,9 @@ plugins {
1010apply (from = " groovy.gradle" )
1111
1212dependencies {
13- val lombok = " org.projectlombok:lombok:1.18.18"
14- implementation(lombok)
13+ val lombok = " org.projectlombok:lombok:1.18.20"
14+ compileOnly(lombok)
15+ testCompileOnly(lombok)
1516 annotationProcessor(lombok)
1617 testAnnotationProcessor(lombok)
1718}
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ import org.gradle.api.publish.maven.internal.publication.DefaultMavenPublication
44
55group = ' dev.minco.mixin'
66
7- configurations. compile. dependencies. remove dependencies. gradleApi()
8- configurations. all { it. dependencies. remove project. dependencies. gradleApi() }
7+ // configurations.compile.dependencies.remove dependencies.gradleApi()
8+ // configurations.all { it.dependencies.remove project.dependencies.gradleApi() }
99dependencies { compileOnly gradleApi() }
1010
1111// task relocateShadowJar(type: ConfigureShadowRelocation) {
@@ -22,7 +22,10 @@ shadowJar {
2222dependencies {
2323 // compileOnly 'com.google.guava:guava:25.1-jre' // bundled with gradle
2424 implementation parent
25- testImplementation(' org.spockframework:spock-core:1.3-groovy-2.4' ) {
25+ testImplementation(' org.spockframework:spock-core:2.0-groovy-3.0' ) {
26+ exclude module : ' groovy-all'
27+ }
28+ testImplementation(' org.spockframework:spock-junit4:2.0-groovy-3.0' ) {
2629 exclude module : ' groovy-all'
2730 }
2831 testImplementation(' io.github.classgraph:classgraph:4.8.59' )
Original file line number Diff line number Diff line change 1+ # The exports are needed due to https://github.com/diffplug/spotless/issues/834
2+ org.gradle.jvmargs =--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \
3+ --add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED \
4+ --add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED \
5+ --add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
6+ --add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
Original file line number Diff line number Diff line change 11# Thu Jan 23 11:34:41 GMT 2020
2- distributionUrl =https\://services.gradle.org/distributions/gradle-6.8.2 -all.zip
2+ distributionUrl =https\://services.gradle.org/distributions/gradle-7.1.1 -all.zip
33distributionBase =GRADLE_USER_HOME
44distributionPath =wrapper/dists
55zipStorePath =wrapper/dists
You can’t perform that action at this time.
0 commit comments