Skip to content

Commit

Permalink
Update Gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
embeddedt committed Nov 2, 2023
1 parent 1c353d4 commit 9b5ef9e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ shadowJar {
task shadowBugWorkaround(type: Jar) {
dependsOn jar
dependsOn tasks.getByPath(':java17:jar')
destinationDir file('build/shadow-bug-workaround')
baseName = 'nested-content'
destinationDirectory.set(file('build/shadow-bug-workaround'))
archiveBaseName.set('nested-content')
from jar
from tasks.getByPath(':java17:jar')
}
Expand All @@ -67,4 +67,4 @@ assemble.dependsOn shadowJar

shadowJar {
archiveClassifier.set('')
}
}
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
4 changes: 2 additions & 2 deletions java17/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ java {
}

jar {
archiveName 'java17.jar'
archiveFileName.set("java17.jar")
}

dependencies {
compileOnly "cpw.mods:securejarhandler:2.1.10"
}
}

0 comments on commit 9b5ef9e

Please sign in to comment.