Skip to content

Commit

Permalink
update the Jolt Physics sourcecode and assets to fed2b6c
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Sep 30, 2024
1 parent 2d901d1 commit aa7026e
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-sg240916.zip'
downloadZip = 'downloads/JoltPhysics-sg240929.zip'
group = 'com.github.stephengold'
version = '0.7.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/sg240916.zip'
src 'https://github.com/stephengold/JoltPhysics/archive/refs/tags/sg240929.zip'
dest file(downloadZip)
overwrite false
}
tasks.register('unpackJoltAssets', Copy) {
dependsOn 'downloadJoltSource'
from (zipTree(downloadZip)) {
include 'JoltPhysics-sg240916/Assets/**'
include 'JoltPhysics-sg240929/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-sg240916/Jolt/**'
include 'JoltPhysics-sg240929/Jolt/**'
eachFile { fcd ->
fcd.relativePath = new RelativePath(true, fcd.relativePath.segments.drop(2))
}
Expand Down

0 comments on commit aa7026e

Please sign in to comment.