diff --git a/app/build.gradle b/app/build.gradle index 6515ba1..3fe72d3 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -31,7 +31,6 @@ android { dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) - implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" implementation 'androidx.appcompat:appcompat:1.3.1' implementation 'androidx.core:core-ktx:1.6.0' implementation 'androidx.gridlayout:gridlayout:1.0.0' diff --git a/iap/build.gradle b/iap/build.gradle index 9d1f32b..bf7677c 100644 --- a/iap/build.gradle +++ b/iap/build.gradle @@ -1,6 +1,7 @@ plugins { id 'com.android.library' id 'kotlin-android' + id 'maven-publish' } android { @@ -22,7 +23,6 @@ android { dependencies { implementation 'com.android.billingclient:billing-ktx:4.0.0' - implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" implementation 'androidx.appcompat:appcompat:1.3.1' implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0' implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.3.1' @@ -31,3 +31,19 @@ dependencies { testImplementation 'junit:junit:4.13.2' } +afterEvaluate { + publishing { + publications { + // Creates a Maven publication called "release". + release(MavenPublication) { + // Applies the component for the release build variant. + from components.release + + // You can then customize attributes of the publication as shown below. + groupId = 'com.limerse.iap' + artifactId = 'final' + version = '1.0' + } + } + } +} \ No newline at end of file diff --git a/jitpack.yml b/jitpack.yml new file mode 100644 index 0000000..adb3fe1 --- /dev/null +++ b/jitpack.yml @@ -0,0 +1,2 @@ +jdk: + - openjdk11