@@ -3,6 +3,11 @@ plugins {
33 id ' com.diffplug.spotless-changelog'
44}
55
6+ spotlessChangelog {
7+ tagMessage ' {{changes}}'
8+ runAfterPush " gh release create release/{{version}} --title 'v{{version}}' --notes-from-tag"
9+ }
10+
611repositories { mavenCentral() }
712
813group = 干. proj(' maven_group' , ' the maven group, recommend com.diffplug' )
@@ -11,46 +16,39 @@ allprojects {
1116}
1217apply from : 干. file(' base/sonatype.gradle' )
1318
14- String VER_JUNIT_JUPITER = ' 5.9.2 '
19+ String VER_JUNIT_JUPITER = ' 5.10.3 '
1520subprojects {
1621 apply from : 干. file(' base/java.gradle' )
1722 apply from : 干. file(' base/kotlin.gradle' )
18- // kotlin {
19- // sourceSets.all {
20- // languageSettings {
21- // languageVersion = "2.0"
22- // }
23- // }
24- // }
2523 apply from : 干. file(' spotless/java.gradle' )
2624 apply plugin : ' java-library'
2725
2826 repositories { mavenCentral() }
2927
3028 dependencies {
31- testImplementation " org.junit.jupiter:junit-jupiter-api :${ VER_JUNIT_JUPITER} "
32- testRuntimeOnly " org.junit.jupiter :junit-jupiter-engine: ${ VER_JUNIT_JUPITER } "
29+ testImplementation " org.junit.jupiter:junit-jupiter:${ VER_JUNIT_JUPITER} "
30+ testRuntimeOnly " org.junit.platform :junit-platform-launcher "
3331 }
3432 if (it. name == ' atplug-runtime' ) {
3533 ext. maven_name = ' AtPlug runtime'
3634 apply plugin : ' kotlinx-serialization'
3735 dependencies {
38- implementation " org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.0 "
36+ implementation " org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.1 "
3937 }
4038 } else if (it. name == ' atplug-test-harness' ) {
4139 ext. maven_name= ' AtPlug test harness'
4240 dependencies {
4341 compileOnly " org.junit.jupiter:junit-jupiter-api:5.0.0"
44- implementation " org.jetbrains.kotlin:kotlin-reflect:1.8.20 "
42+ implementation " org.jetbrains.kotlin:kotlin-reflect:2.0.0 "
4543 implementation project(' :atplug-runtime' )
4644 }
4745 } else if (it. name == ' atplug-plugin-gradle' ) {
4846 ext. maven_name= ' AtPlug metadata generation Gradle plugin'
4947 apply from : 干. file(' base/gradle-plugin.gradle' )
5048 dependencies {
51- implementation " org.ow2.asm:asm:9.5 "
52- implementation ' com.diffplug.gradle:goomph:3.41.0 '
53- testImplementation ' org.assertj:assertj-core:3.24.2 '
49+ implementation " org.ow2.asm:asm:9.7 "
50+ implementation ' com.diffplug.gradle:goomph:4.0.1 '
51+ testImplementation ' org.assertj:assertj-core:3.26.0 '
5452 }
5553 tasks. named(' test' ) {
5654 dependsOn ' :atplug-runtime:jar' , ' :atplug-runtime:testClasses'
0 commit comments