Skip to content

Commit

Permalink
add maven publish ***
Browse files Browse the repository at this point in the history
  • Loading branch information
mahdi committed Nov 25, 2023
1 parent 357cc03 commit ded3e55
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 14 deletions.
22 changes: 12 additions & 10 deletions FilePicker/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ android {

defaultConfig {
aarMetadata {
minCompileSdk = 30
minCompileSdk = 29
}
minSdk 21
targetSdk 33
Expand All @@ -42,11 +42,11 @@ android {
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = '17'
jvmTarget = '11'
}

buildFeatures {
Expand Down Expand Up @@ -77,15 +77,17 @@ dependencies {
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
}


publishing {
publications {
maven(MavenPublication) {
release(MavenPublication) {
groupId = 'com.mahdiasd.filepicker'
artifactId = 'filepicker'
version = "2.3.2"
version = "2.3.6"

afterEvaluate {
from components.release
}
}
}
repositories {
mavenLocal()
}
}
}
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ android {
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = '17'
jvmTarget = '11'
}

buildFeatures {
Expand Down
2 changes: 1 addition & 1 deletion jitpack.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
jdk:
-openjdk17
-openjdk11

0 comments on commit ded3e55

Please sign in to comment.