File tree Expand file tree Collapse file tree 5 files changed +26
-8
lines changed
Expand file tree Collapse file tree 5 files changed +26
-8
lines changed Original file line number Diff line number Diff line change 11plugins {
22 id(" com.android.library" )
33 id(" org.jetbrains.kotlin.android" )
4+ id(" maven-publish" )
45}
56
67android {
@@ -19,14 +20,28 @@ android {
1920 }
2021 }
2122 compileOptions {
22- sourceCompatibility = JavaVersion .VERSION_11
23- targetCompatibility = JavaVersion .VERSION_11
23+ sourceCompatibility = JavaVersion .VERSION_17
24+ targetCompatibility = JavaVersion .VERSION_17
2425 }
2526 kotlinOptions {
26- jvmTarget = " 11 "
27+ jvmTarget = " 17 "
2728 }
2829}
2930
3031dependencies {
3132 implementation(" androidx.appcompat:appcompat:1.2.0" )
32- }
33+ }
34+
35+ afterEvaluate {
36+ publishing {
37+ publications {
38+ create<MavenPublication >(" release" ) {
39+ from(components[" release" ])
40+
41+ groupId = " com.github.javaherisaber"
42+ artifactId = " FloatingOverlayView"
43+ version = " 1.0.2"
44+ }
45+ }
46+ }
47+ }
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ allprojects {
2121##### Step 2. Add the dependency
2222``` bat
2323dependencies {
24- implementation 'com.github.javaherisaber:FloatingOverlayView:1.0.1 '
24+ implementation 'com.github.javaherisaber:FloatingOverlayView:1.0.2 '
2525}
2626```
2727
Original file line number Diff line number Diff line change @@ -27,11 +27,11 @@ android {
2727 }
2828 }
2929 compileOptions {
30- sourceCompatibility = JavaVersion .VERSION_11
31- targetCompatibility = JavaVersion .VERSION_11
30+ sourceCompatibility = JavaVersion .VERSION_17
31+ targetCompatibility = JavaVersion .VERSION_17
3232 }
3333 kotlinOptions {
34- jvmTarget = " 11 "
34+ jvmTarget = " 17 "
3535 }
3636 buildFeatures {
3737 compose = true
Original file line number Diff line number Diff line change 1+ jdk :
2+ - openjdk17
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ dependencyResolutionManagement {
1010 repositories {
1111 google()
1212 mavenCentral()
13+ maven(url = " https://jitpack.io" )
1314 }
1415}
1516
You can’t perform that action at this time.
0 commit comments