From df87eeb58a44635f74c3ec6ba7a10d3e325e7d26 Mon Sep 17 00:00:00 2001 From: Yaqoob Date: Wed, 14 Feb 2024 10:25:38 +0500 Subject: [PATCH] fcm --- fcm/build.gradle | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) 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