Update gradle wrapper to 8.7.

This commit is contained in:
Kavin 2024-03-28 20:03:56 +00:00
parent d5b8bd46ae
commit 1423005cd1
No known key found for this signature in database
GPG Key ID: 6E4598CA5C92C41F
2 changed files with 7 additions and 7 deletions

View File

@ -17,14 +17,14 @@ dependencies {
// javac -h // javac -h
tasks.register('generateJniHeaders', JavaCompile) { tasks.register('generateJniHeaders', JavaCompile) {
classpath = sourceSets.main.compileClasspath classpath = sourceSets.main.compileClasspath
destinationDir file("${buildDir}/generated/jni") destinationDir file("${layout.buildDirectory}/generated/jni")
source = sourceSets.main.java source = sourceSets.main.java
options.compilerArgs += [ options.compilerArgs += [
'-h', file("${buildDir}/generated/jni"), '-h', file("${layout.buildDirectory}/generated/jni"),
'-d', file("${buildDir}/generated/jni-classes"), '-d', file("${layout.buildDirectory}/generated/jni-classes"),
] ]
doLast { doLast {
delete file("${buildDir}/generated/jni-classes") delete file("${layout.buildDirectory}/generated/jni-classes")
} }
} }
@ -36,6 +36,8 @@ rustImport {
java { java {
withSourcesJar() withSourcesJar()
withJavadocJar() withJavadocJar()
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
} }
signing { signing {
@ -44,8 +46,6 @@ signing {
group = 'rocks.kavin' group = 'rocks.kavin'
version = '1.0.13' version = '1.0.13'
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
publishing { publishing {
repositories { repositories {

View File

@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://downloads.gradle.org/distributions/gradle-7.6-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
networkTimeout=10000 networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists