Native libraries publishing artifacts, closes #43
This commit is contained in:
+10
-1
@@ -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 {
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user