lib: tested on JFrog Artifactory for Maven publishing
This commit is contained in:
parent
e58add740d
commit
a5a54375a2
|
|
@ -1,6 +1,7 @@
|
|||
plugins {
|
||||
alias(libs.plugins.android.library)
|
||||
alias(libs.plugins.jetbrains.kotlin.android)
|
||||
`maven-publish`
|
||||
}
|
||||
|
||||
android {
|
||||
|
|
@ -25,6 +26,9 @@ android {
|
|||
arguments += "-DCMAKE_VERBOSE_MAKEFILE=ON"
|
||||
}
|
||||
}
|
||||
aarMetadata {
|
||||
minCompileSdk = 35
|
||||
}
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
|
|
@ -55,6 +59,37 @@ android {
|
|||
excludes += "/META-INF/{AL2.0,LGPL2.1}"
|
||||
}
|
||||
}
|
||||
|
||||
publishing {
|
||||
singleVariant("release") {
|
||||
withJavadocJar()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
register<MavenPublication>("release") {
|
||||
groupId = "com.arm"
|
||||
artifactId = "kleidi-llama"
|
||||
version = "1.0.0"
|
||||
|
||||
afterEvaluate {
|
||||
from(components["release"])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
name = "artifactory"
|
||||
url = uri(project.findProperty("artifactoryUrl") as? String ?: "")
|
||||
credentials {
|
||||
username = project.findProperty("artifactoryUsername") as? String ?: ""
|
||||
password = project.findProperty("artifactoryPassword") as? String ?: ""
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
|
|
|||
Loading…
Reference in New Issue