Native libraries publishing artifacts, closes #43
This commit is contained in:
@@ -39,7 +39,7 @@ dependencies {
|
||||
}
|
||||
|
||||
task copyLibs(type: Copy) {
|
||||
from(zipTree("vtm-natives-ios.jar"))
|
||||
from("natives")
|
||||
into("${buildDir}/natives")
|
||||
}
|
||||
|
||||
@@ -65,6 +65,15 @@ tasks.withType(org.gradle.api.tasks.compile.JavaCompile) {
|
||||
compileTask -> compileTask.dependsOn copyVtmThemesResources
|
||||
}
|
||||
|
||||
task nativesJar(type: Jar) {
|
||||
classifier = 'natives'
|
||||
from('natives')
|
||||
}
|
||||
|
||||
artifacts {
|
||||
archives nativesJar
|
||||
}
|
||||
|
||||
// Automated Gradle project deployment to Sonatype OSSRH
|
||||
if (isReleaseVersion && project.hasProperty("SONATYPE_USERNAME")) {
|
||||
afterEvaluate {
|
||||
|
||||
BIN
vtm-ios/natives/libvtm-jni.a
Normal file
BIN
vtm-ios/natives/libvtm-jni.a
Normal file
Binary file not shown.
BIN
vtm-ios/natives/libvtm-jni.a.386
Normal file
BIN
vtm-ios/natives/libvtm-jni.a.386
Normal file
Binary file not shown.
BIN
vtm-ios/natives/libvtm-jni.a.arm64
Normal file
BIN
vtm-ios/natives/libvtm-jni.a.arm64
Normal file
Binary file not shown.
BIN
vtm-ios/natives/libvtm-jni.a.armv7
Normal file
BIN
vtm-ios/natives/libvtm-jni.a.armv7
Normal file
Binary file not shown.
BIN
vtm-ios/natives/libvtm-jni.a.tvos
Normal file
BIN
vtm-ios/natives/libvtm-jni.a.tvos
Normal file
Binary file not shown.
BIN
vtm-ios/natives/libvtm-jni.a.tvos.arm64
Normal file
BIN
vtm-ios/natives/libvtm-jni.a.tvos.arm64
Normal file
Binary file not shown.
BIN
vtm-ios/natives/libvtm-jni.a.tvos.x86_64
Normal file
BIN
vtm-ios/natives/libvtm-jni.a.tvos.x86_64
Normal file
Binary file not shown.
BIN
vtm-ios/natives/libvtm-jni.a.x86_64
Normal file
BIN
vtm-ios/natives/libvtm-jni.a.x86_64
Normal file
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user