This upgrade lets us remove several hacks we needed to properly publish our artifacts on Maven.
28 lines
534 B
Groovy
28 lines
534 B
Groovy
android {
|
|
namespace 'com.google.android.filament'
|
|
|
|
publishing {
|
|
singleVariant("release") {
|
|
withSourcesJar()
|
|
withJavadocJar()
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation deps.androidx.annotations
|
|
}
|
|
|
|
apply from: rootProject.file('gradle/gradle-mvn-push.gradle')
|
|
|
|
afterEvaluate { project ->
|
|
publishing {
|
|
publications {
|
|
release(MavenPublication) {
|
|
artifactId = POM_ARTIFACT_ID
|
|
from components.release
|
|
}
|
|
}
|
|
}
|
|
}
|