File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 runs-on : ubuntu-latest
88 steps :
99 - name : Checkout
10- uses : actions/checkout@v3
10+ uses : actions/checkout@v5
1111 with :
1212 fetch-depth : 0
1313 - name : Validate Gradle wrapper
1717 - name : Set up Java
1818 uses : actions/setup-java@v3
1919 with :
20- java-version : ' 21 '
20+ java-version : ' 25 '
2121 distribution : ' adopt'
2222 - name : Publish Package to Stage Repository
2323 run : ./gradlew cleanMavenPublishingStage build publishAllPublicationsToMavenStageRepository
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import moe.karla.maven.publishing.MavenPublishingExtension.PublishingType
33plugins {
44 id(" moe.karla.maven-publishing" )
55 id(" com.github.gmazzo.buildconfig" ) version " 5.6.7" apply false
6- id(" com.gradleup.shadow" ) version " 8 .3.0" apply false
6+ id(" com.gradleup.shadow" ) version " 9 .3.0" apply false
77}
88
99allprojects {
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ repositories {
1818
1919dependencies {
2020 api(gradleApi())
21- api(" com.google.code.gson:gson:2.10.1 " )
21+ api(" com.google.code.gson:gson:2.13.2 " )
2222
2323 api(" org.apache.httpcomponents:httpclient:4.5.13" )
2424 api(" org.apache.httpcomponents:httpmime:4.5.13" )
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ import org.gradle.plugins.signing.SigningExtension
1717
1818fun Project.setupJava (targetJavaVersion : Int , withDocuments : Boolean = true) {
1919 extensions.configure<JavaPluginExtension > {
20+ disableAutoTargetJvm()
2021 val javaVersion = JavaVersion .toVersion(targetJavaVersion)
2122 if (JavaVersion .current() < javaVersion) {
2223 toolchain.languageVersion.set(JavaLanguageVersion .of(targetJavaVersion))
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3- distributionUrl =https\://services.gradle.org/distributions/gradle-8.5 -bin.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-9.1.0 -bin.zip
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ dependencies {
1313tasks {
1414 shadowJar {
1515 configurations.add(shadowLink)
16+ configurations.add(project.configurations.runtimeClasspath.get())
1617 relocate(" org.yaml.snakeyaml" , " top.mrxiaom.pluginbase.configuration.snakeyaml" )
1718 }
1819}
Original file line number Diff line number Diff line change 11plugins {
22 id(" com.github.gmazzo.buildconfig" )
3- id(" com.gradleup.shadow" )
43}
54
65buildConfig {
You can’t perform that action at this time.
0 commit comments