Skip to content

Commit

Permalink
Add jitpack file
Browse files Browse the repository at this point in the history
  • Loading branch information
abdullahalhakimi committed Oct 6, 2024
1 parent 9629dd5 commit 7a029b1
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 6 deletions.
1 change: 0 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions .idea/other.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
jdk:
- openjdk17
before_install:
- sdk install java 17.0.7-open
- sdk use java 17.0.7-open
21 changes: 16 additions & 5 deletions library/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
alias(libs.plugins.android.library)
alias(libs.plugins.jetbrains.kotlin.android)
id("maven-publish")
}

android {
Expand Down Expand Up @@ -38,6 +39,16 @@ android {
}
}

publishing {
publications {
register<MavenPublication>("release") {
afterEvaluate {
from(components["release"])
}
}
}
}

dependencies {

implementation(libs.androidx.core.ktx)
Expand All @@ -52,9 +63,9 @@ dependencies {
implementation(libs.androidx.activity.compose)
implementation(platform(libs.androidx.compose.bom))
implementation(libs.androidx.ui)
implementation( libs.ui)
implementation( libs.androidx.animation)
implementation( libs.ui.tooling.preview)
androidTestImplementation( libs.androidx.espresso.core.v351)
debugImplementation( libs.ui.tooling)
implementation(libs.ui)
implementation(libs.androidx.animation)
implementation(libs.ui.tooling.preview)
androidTestImplementation(libs.androidx.espresso.core.v351)
debugImplementation(libs.ui.tooling)
}

0 comments on commit 7a029b1

Please sign in to comment.