Configure maven central publish
This commit is contained in:
1 parent
5b7c724bb0
commit
f3e8bf6bea
5 files changed
+37
-3
No files matched your search
@@ -6,7 +6,7 @@ A customizable Liquid Glass effect library for Jetpack Compose.
|
|||||||
|
|
||||||
## Docs
|
## Docs
|
||||||
|
|
||||||
[](https://jitpack.io/#Kyant0/AndroidLiquidGlass)
|
[](https://central.sonatype.com/artifact/io.github.kyant0/backdrop[)
|
||||||
|
|
||||||
[Documentation](https://kyant.gitbook.io/backdrop)
|
[Documentation](https://kyant.gitbook.io/backdrop)
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ plugins {
|
|||||||
alias(libs.plugins.android.library)
|
alias(libs.plugins.android.library)
|
||||||
alias(libs.plugins.kotlin.android)
|
alias(libs.plugins.kotlin.android)
|
||||||
alias(libs.plugins.kotlin.compose)
|
alias(libs.plugins.kotlin.compose)
|
||||||
|
id("com.vanniktech.maven.publish")
|
||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
@@ -38,3 +39,36 @@ dependencies {
|
|||||||
implementation(libs.androidx.compose.ui)
|
implementation(libs.androidx.compose.ui)
|
||||||
implementation(libs.androidx.compose.ui.graphics)
|
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")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -4,4 +4,5 @@ plugins {
|
|||||||
alias(libs.plugins.android.library) apply false
|
alias(libs.plugins.android.library) apply false
|
||||||
alias(libs.plugins.kotlin.android) apply false
|
alias(libs.plugins.kotlin.android) apply false
|
||||||
alias(libs.plugins.kotlin.compose) apply false
|
alias(libs.plugins.kotlin.compose) apply false
|
||||||
|
id("com.vanniktech.maven.publish") version "0.34.0" apply false
|
||||||
}
|
}
|
||||||
@@ -71,5 +71,5 @@ dependencies {
|
|||||||
implementation(libs.androidx.compose.ui)
|
implementation(libs.androidx.compose.ui)
|
||||||
implementation(libs.androidx.compose.ui.graphics)
|
implementation(libs.androidx.compose.ui.graphics)
|
||||||
implementation(libs.androidx.compose.material.ripple)
|
implementation(libs.androidx.compose.material.ripple)
|
||||||
implementation("com.github.Kyant0:Capsule:2.1.0")
|
implementation("io.github.kyant0:capsule:2.1.1")
|
||||||
}
|
}
|
||||||
@@ -16,7 +16,6 @@ dependencyResolutionManagement {
|
|||||||
repositories {
|
repositories {
|
||||||
google()
|
google()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
maven("https://jitpack.io")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user