Skip to content

Commit

Permalink
update JoltPhysics source and assets to c1bdc5a
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Feb 18, 2025
1 parent df6f6ba commit f9cf3fa
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 {
downloadedJoltZip = 'downloads/JoltPhysics-sg250126.zip'
downloadedJoltZip = 'downloads/JoltPhysics-sg250217.zip'
downloadedVhacdZip = 'downloads/v-hacd-4.1.0.zip'

groupID = 'com.github.stephengold'
Expand Down Expand Up @@ -505,7 +505,7 @@ static def base64Decode(encodedString) {
// Register tasks to download ZIP archives:

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

0 comments on commit f9cf3fa

Please sign in to comment.