Skip to content

Commit

Permalink
update the Jolt Physics sourcecode and assets to 2d7176a
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Nov 7, 2024
1 parent 9f6aed2 commit c90ca34
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 @@ -14,7 +14,7 @@ plugins {
}

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

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

0 comments on commit c90ca34

Please sign in to comment.