Skip to content

Commit d92e0e1

Browse files
Maijenburg, GoopherMaijenburg, Goopher
authored andcommitted
Fixed isseus with latest version
1 parent 0a2495f commit d92e0e1

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ buildscript {
55
}
66
dependencies {
77
classpath 'com.android.tools.build:gradle:4.1.0'
8+
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
89
}
910
}
1011

library/build.gradle

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
apply plugin: 'com.android.library'
2+
apply plugin: 'com.github.dcendents.android-maven'
3+
4+
ext {
5+
publishedGroupId='com.github.Goopher'
6+
}
27

38
android {
49
compileSdkVersion 30
@@ -17,4 +22,4 @@ android {
1722
dependencies {
1823
implementation 'com.google.android.play:core:1.8.2'
1924
implementation 'com.google.android.play:core-ktx:1.8.1'
20-
}
25+
}

sample/src/main/java/hotchemi/android/rate/sample/MainActivity.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ protected void onCreate(Bundle savedInstanceState) {
2323
.setShowLaterButton(true) // default true.
2424
.setDebug(true) // default false.
2525
.setCancelable(false) // default false.
26+
.useInAppReviewSystem(true) // default false
2627
.setOnClickButtonListener(new OnClickButtonListener() { // callback listener.
2728
@Override
2829
public void onClickButton(int which) {

0 commit comments

Comments
 (0)