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

Loading…
Cancel
Save