Skip to content

Commit

Permalink
Update gradle wrapper to 8.8
Browse files Browse the repository at this point in the history
  • Loading branch information
8Keep committed Jun 23, 2024
1 parent 88adea8 commit 36467eb
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 5 deletions.
8 changes: 4 additions & 4 deletions common.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,12 @@ test {
}

task sourcesJar(type: Jar, dependsOn: classes, description: 'Creates a jar from the source files.') {
classifier = 'sources'
archiveClassifier = 'sources'
from sourceSets*.allSource
}

task javadocJar(type: Jar, dependsOn: javadoc, description: 'Creates a jar from the javadoc files.') {
classifier = 'javadoc'
archiveClassifier = 'javadoc'
from javadoc.destinationDir
}

Expand Down Expand Up @@ -218,8 +218,8 @@ checkstyleTest {

tasks.withType(Checkstyle) {
reports {
xml.enabled false
html.enabled true
xml.required.set(false)
html.required.set(true)
}
include("**/com/jme3/renderer/**/*.java")
}
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.4-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
3 changes: 3 additions & 0 deletions jme3-android-native/bufferallocator.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ task copyPreCompiledLibsBufferAllocator(type: Copy) {
from file(bufferAllocatorPreCompiledLibsDir)
into file(bufferAllocatorBuildLibsDir)
}
if (skipPrebuildLibraries != "true" && buildNativeProjects != "true") {
copyPreCompiledLibsBufferAllocator.dependsOn(rootProject.extractPrebuiltNatives)
}

// ndkExists is a boolean from the build.gradle in the root project
// buildNativeProjects is a string set to "true"
Expand Down
3 changes: 3 additions & 0 deletions jme3-android-native/decode.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ task copyPreCompiledLibs(type: Copy) {
from sourceDir
into outputDir
}
if (skipPrebuildLibraries != "true" && buildNativeProjects != "true") {
copyPreCompiledLibs.dependsOn(rootProject.extractPrebuiltNatives)
}

// ndkExists is a boolean from the build.gradle in the root project
// buildNativeProjects is a string set to "true"
Expand Down
3 changes: 3 additions & 0 deletions jme3-android-native/openalsoft.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ task copyPreCompiledOpenAlSoftLibs(type: Copy) {
from sourceDir
into outputDir
}
if (skipPrebuildLibraries != "true" && buildNativeProjects != "true") {
copyPreCompiledOpenAlSoftLibs.dependsOn(rootProject.extractPrebuiltNatives)
}

// ndkExists is a boolean from the build.gradle in the root project
// buildNativeProjects is a string set to "true"
Expand Down

0 comments on commit 36467eb

Please sign in to comment.