Skip to content

Commit

Permalink
code up
Browse files Browse the repository at this point in the history
  • Loading branch information
Ajay committed Sep 23, 2024
1 parent 524ea6b commit 8eeaf93
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
alias(libs.plugins.android.application)
alias(libs.plugins.jetbrains.kotlin.android)
id("maven-publish")

}

android {
Expand Down
4 changes: 4 additions & 0 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
jdk:
- openjdk8
before_install:
- ./scripts/prepareJitpackEnvironment.sh
18 changes: 17 additions & 1 deletion photopicker/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
alias(libs.plugins.library)
alias(libs.plugins.jetbrains.kotlin.android)
id("maven-publish")
}

android {
Expand Down Expand Up @@ -32,6 +33,20 @@ android {
}
}

publishing {
publications {
register<MavenPublication>("release") {
groupId = "com.mobapp.photopicker"
artifactId = "photopicker"
version = "1.0.2"

afterEvaluate {
from(components["release"])
}
}
}
}

dependencies {

implementation(libs.androidx.core.ktx)
Expand All @@ -40,4 +55,5 @@ dependencies {
testImplementation(libs.junit)
androidTestImplementation(libs.androidx.junit)
androidTestImplementation(libs.androidx.espresso.core)
}
}

0 comments on commit 8eeaf93

Please sign in to comment.