Skip to content

Commit

Permalink
update JoltPhysics source and assets to 1ee5355
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Jan 27, 2025
1 parent a3a2d77 commit 42a6976
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ plugins {
// or by -P options on the Gradle command line.

ext {
downloadZip = 'downloads/JoltPhysics-sg250106.zip'
downloadZip = 'downloads/JoltPhysics-sg250126.zip'
groupID = 'com.github.stephengold'
baseName = "${artifact}-${jjVersion}" // for artifacts
websiteUrl = 'https://github.com/stephengold/jolt-jni'
Expand Down Expand Up @@ -460,14 +460,14 @@ static def base64Decode(encodedString) {
// Register tasks to download and unpack JoltPhysics source code and assets:

tasks.register('downloadJoltSource', Download) {
src 'https://github.com/stephengold/JoltPhysics/archive/refs/tags/sg250106.zip'
src 'https://github.com/stephengold/JoltPhysics/archive/refs/tags/sg250126.zip'
dest file(downloadZip)
overwrite false
}
tasks.register('unpackJoltAssets', Copy) {
dependsOn 'downloadJoltSource'
from (zipTree(downloadZip)) {
include 'JoltPhysics-sg250106/Assets/**'
include 'JoltPhysics-sg250126/Assets/**'
eachFile { fcd ->
fcd.relativePath = new RelativePath(true, fcd.relativePath.segments.drop(2))
}
Expand All @@ -478,7 +478,7 @@ tasks.register('unpackJoltAssets', Copy) {
tasks.register('unpackJoltSource', Copy) {
dependsOn 'downloadJoltSource'
from (zipTree(downloadZip)) {
include 'JoltPhysics-sg250106/Jolt/**'
include 'JoltPhysics-sg250126/Jolt/**'
eachFile { fcd ->
fcd.relativePath = new RelativePath(true, fcd.relativePath.segments.drop(2))
}
Expand All @@ -489,7 +489,7 @@ tasks.register('unpackJoltSource', Copy) {
tasks.register('unpackTestFramework', Copy) {
dependsOn 'downloadJoltSource'
from (zipTree(downloadZip)) {
include 'JoltPhysics-sg250106/TestFramework/**'
include 'JoltPhysics-sg250126/TestFramework/**'
eachFile { fcd ->
fcd.relativePath = new RelativePath(true, fcd.relativePath.segments.drop(2))
}
Expand Down

0 comments on commit 42a6976

Please sign in to comment.