File tree Expand file tree Collapse file tree 3 files changed +19
-0
lines changed
Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 11plugins {
22 alias(libs.plugins.android.library)
33 alias(libs.plugins.kotlin.android)
4+ id(" maven-publish" )
45}
56
67android {
@@ -32,6 +33,16 @@ android {
3233 }
3334}
3435
36+ publishing {
37+ publications {
38+ register<MavenPublication >(" release" ) {
39+ afterEvaluate {
40+ from(components[" release" ])
41+ }
42+ }
43+ }
44+ }
45+
3546dependencies {
3647
3748 implementation(libs.androidx.core.ktx)
Original file line number Diff line number Diff line change 1+ jdk :
2+ - openjdk17
3+ before_install :
4+ - sdk install java 17.0.7-open
5+ - sdk use java 17.0.7-open
Original file line number Diff line number Diff line change 1+ import java.net.URI
2+
13pluginManagement {
24 repositories {
35 google {
@@ -16,6 +18,7 @@ dependencyResolutionManagement {
1618 repositories {
1719 google()
1820 mavenCentral()
21+ maven { url = URI (" https://jitpack.io" ) }
1922 }
2023}
2124
You can’t perform that action at this time.
0 commit comments