Configure maven central publish
This commit is contained in:
1 parent
5b7c724bb0
commit
f3e8bf6bea
5 files changed
+37
-3
No files matched your search
@@ -2,6 +2,7 @@ plugins {
|
||||
alias(libs.plugins.android.library)
|
||||
alias(libs.plugins.kotlin.android)
|
||||
alias(libs.plugins.kotlin.compose)
|
||||
id("com.vanniktech.maven.publish")
|
||||
}
|
||||
|
||||
android {
|
||||
@@ -38,3 +39,36 @@ dependencies {
|
||||
implementation(libs.androidx.compose.ui)
|
||||
implementation(libs.androidx.compose.ui.graphics)
|
||||
}
|
||||
|
||||
mavenPublishing {
|
||||
publishToMavenCentral()
|
||||
signAllPublications()
|
||||
|
||||
coordinates("io.github.kyant0", "backdrop", "2.1.1")
|
||||
|
||||
pom {
|
||||
name.set("Backdrop")
|
||||
description.set("Jetpack Compose blur and Liquid Glass effects")
|
||||
inceptionYear.set("2025")
|
||||
url.set("https://github.com/Kyant0/AndroidLiquidGlass")
|
||||
licenses {
|
||||
license {
|
||||
name.set("The Apache License, Version 2.0")
|
||||
url.set("http://www.apache.org/licenses/LICENSE-2.0.txt")
|
||||
distribution.set("repo")
|
||||
}
|
||||
}
|
||||
developers {
|
||||
developer {
|
||||
id.set("Kyant0")
|
||||
name.set("Kyant")
|
||||
url.set("https://github.com/Kyant0")
|
||||
}
|
||||
}
|
||||
scm {
|
||||
url.set("https://github.com/Kyant0/AndroidLiquidGlass")
|
||||
connection.set("scm:git:git://github.com/Kyant0/AndroidLiquidGlass.git")
|
||||
developerConnection.set("scm:git:ssh://git@github.com/Kyant0/AndroidLiquidGlass.git")
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user