Skip to content

Commit

Permalink
Changes to gradle for a successful jitpack build.
Browse files Browse the repository at this point in the history
  • Loading branch information
numerative committed Sep 6, 2020
1 parent 84731d5 commit e4428cb
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 7 deletions.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,20 @@ It uses Android's [In-App Review API](https://developer.android.com/guide/playco

You can download from jitpack.

```groovy
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
```

${latest.version} is ![eou](https://jitpack.io/#numerative/Five-Star-Me/2.0.0)

```groovy
dependencies {
implementation 'com.github.hotchemi:android-rate:{latest.version}'
implementation 'com.github.numerative:Five-Star-Me:{latest.version}'
}
```

Expand Down
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:4.0.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
}
}

Expand Down
7 changes: 4 additions & 3 deletions library/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'com.github.dcendents.android-maven'

group='com.github.numerative'

android {
compileSdkVersion 29
Expand All @@ -15,6 +18,4 @@ dependencies {
//Play core
implementation 'com.google.android.play:core:1.8.0'
implementation 'com.google.android.play:core-ktx:1.8.1'
}

apply from: 'https://raw.github.com/chrisbanes/gradle-mvn-push/master/gradle-mvn-push.gradle'
}
3 changes: 0 additions & 3 deletions library/gradle.properties

This file was deleted.

0 comments on commit e4428cb

Please sign in to comment.