Skip to content

Commit b0e90eb

Browse files
JitPack Configured
1 parent 8fb6da6 commit b0e90eb

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

coremodule/build.gradle.kts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
plugins {
22
alias(libs.plugins.android.library)
33
alias(libs.plugins.kotlin.android)
4+
id("maven-publish")
45
}
56

67
android {
@@ -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+
3546
dependencies {
3647

3748
implementation(libs.androidx.core.ktx)

jitpack.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
jdk:
2+
- openjdk17
3+
before_install:
4+
- sdk install java 17.0.7-open
5+
- sdk use java 17.0.7-open

settings.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import java.net.URI
2+
13
pluginManagement {
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

0 commit comments

Comments
 (0)