diff --git a/fcm/build.gradle b/fcm/build.gradle index 73353ad..7f57918 100644 --- a/fcm/build.gradle +++ b/fcm/build.gradle @@ -1,6 +1,7 @@ plugins { id 'com.android.library' id 'org.jetbrains.kotlin.android' + id 'maven-publish' } android { @@ -21,11 +22,11 @@ android { } } compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 + sourceCompatibility JavaVersion.VERSION_17 + targetCompatibility JavaVersion.VERSION_17 } kotlinOptions { - jvmTarget = '1.8' + jvmTarget = '17' } } @@ -42,4 +43,18 @@ dependencies { // Glide Library for imageview implementation 'com.github.bumptech.glide:glide:4.15.1' annotationProcessor 'com.github.bumptech.glide:compiler:4.14.2' +} + +publishing { + publications { + release(MavenPublication) { + groupId = 'com.hypersoft.fcm' + artifactId = 'fcm' + version = '1.0.3' + + afterEvaluate { + from components.release + } + } + } } \ No newline at end of file