Native libraries publishing artifacts, closes #43
This commit is contained in:
@@ -47,6 +47,18 @@ android.libraryVariants.all { variant ->
|
||||
artifacts.add('archives', task);
|
||||
}
|
||||
|
||||
android.libraryVariants.all { variant ->
|
||||
def name = variant.buildType.name
|
||||
if (name.equals("debug")) {
|
||||
print "Skipping debug jar"
|
||||
return; // Skip debug builds.
|
||||
}
|
||||
def task = project.tasks.create "nativesJar${name.capitalize()}", Jar
|
||||
task.classifier = 'natives'
|
||||
task.from('natives')
|
||||
artifacts.add('archives', task);
|
||||
}
|
||||
|
||||
// Automated Gradle project deployment to Sonatype OSSRH
|
||||
if (isReleaseVersion && project.hasProperty("SONATYPE_USERNAME")) {
|
||||
afterEvaluate {
|
||||
|
||||
BIN
vtm-android/natives/lib/armeabi-v7a/libvtm-jni.so
Executable file
BIN
vtm-android/natives/lib/armeabi-v7a/libvtm-jni.so
Executable file
Binary file not shown.
BIN
vtm-android/natives/lib/armeabi/libvtm-jni.so
Executable file
BIN
vtm-android/natives/lib/armeabi/libvtm-jni.so
Executable file
Binary file not shown.
BIN
vtm-android/natives/lib/x86/libvtm-jni.so
Executable file
BIN
vtm-android/natives/lib/x86/libvtm-jni.so
Executable file
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user