Skip to content

Commit

Permalink
Merge pull request #64 from artsimonyan23/master
Browse files Browse the repository at this point in the history
fixed jitpack issue
  • Loading branch information
akshaaatt authored Oct 9, 2021
2 parents 863ec4d + 8844928 commit 24de67a
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
1 change: 0 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
18 changes: 17 additions & 1 deletion iap/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
id 'com.android.library'
id 'kotlin-android'
id 'maven-publish'
}

android {
Expand All @@ -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'
Expand All @@ -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'
}
}
}
}
2 changes: 2 additions & 0 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
jdk:
- openjdk11

0 comments on commit 24de67a

Please sign in to comment.