appveyor: force rebuild

native-compilation-test
Kirill Vainer 8 years ago
parent b3ece636b6
commit d8e15da671
  1. 11
      jme3-bullet-native/build.gradle

@ -40,7 +40,7 @@ model {
}
}
}
binaries {
withType(SharedLibraryBinarySpec) {
def projectPath = project.projectDir.absolutePath
@ -48,10 +48,10 @@ model {
def os = targetPlatform.operatingSystem.name
def arch = targetPlatform.architecture.name
def fileName = sharedLibraryFile.name
// Gradle decided to change underscores to dashes - fix that.
arch = arch.replaceAll('-', '_')
// For all binaries that can't be built on the current system
if (buildNativeProjects != "true") {
buildable = false
@ -114,14 +114,14 @@ model {
}
cppCompiler.define('WIN32')
}
tasks.all { dependsOn unzipBulletIfNeeded }
// Add output to jar file
jar.into("native/${os}/${arch}") {
from sharedLibraryFile
}
// Add depend on build
jar.dependsOn tasks
// Add output to libs folder
@ -190,6 +190,7 @@ unzipBullet.dependsOn {
}
}
task unzipBulletIfNeeded {
}

Loading…
Cancel
Save