Skip to content

Commit

Permalink
update the Jolt Physics source code and assets to 5da6ac8
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Sep 7, 2024
1 parent 2aa1120 commit db624ac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ plugins {
}

ext {
downloadZip = 'downloads/JoltPhysics-sg240906.zip'
downloadZip = 'downloads/JoltPhysics-sg240907.zip'
group = 'com.github.stephengold'
version = '0.6.1-SNAPSHOT'
baseName = "${artifact}-${version}" // for artifacts
Expand Down Expand Up @@ -419,14 +419,14 @@ def base64Decode(encodedString) {
// Tasks to download and unpack JoltPhysics source code and assets:

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

0 comments on commit db624ac

Please sign in to comment.