Skip to content

Commit eeaf309

Browse files
committed
Upgrade Gradle plugins, SDK version and Google Play Billing Library
1 parent dccd3b7 commit eeaf309

File tree

6 files changed

+341
-295
lines changed

6 files changed

+341
-295
lines changed

GodotGooglePlayBilling.gdap

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
name="GodotGooglePlayBilling"
44
binary_type="local"
5-
binary="GodotGooglePlayBilling.1.1.2.release.aar"
5+
binary="GodotGooglePlayBilling.2.0.0-rc.1.release.aar"
66

77
[dependencies]
8-
remote=["com.android.billingclient:billing:4.0.0"]
8+
remote=["com.android.billingclient:billing:5.0.0"]

build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
buildscript {
33
repositories {
44
google()
5-
jcenter()
5+
mavenCentral()
66
}
77
dependencies {
8-
classpath "com.android.tools.build:gradle:4.0.0"
8+
classpath "com.android.tools.build:gradle:7.2.2"
99

1010
// NOTE: Do not place your application dependencies here; they belong
1111
// in the individual module build.gradle files
@@ -15,7 +15,7 @@ buildscript {
1515
allprojects {
1616
repositories {
1717
google()
18-
jcenter()
18+
mavenCentral()
1919
}
2020
}
2121

godot-google-play-billing/build.gradle

+10-6
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,23 @@ plugins {
22
id 'com.android.library'
33
}
44

5-
ext.pluginVersionCode = 4
6-
ext.pluginVersionName = "1.1.2"
5+
ext.pluginVersionCode = 5
6+
ext.pluginVersionName = "2.0.0-rc.1"
77

88
android {
9-
compileSdkVersion 30
10-
buildToolsVersion "30.0.3"
9+
compileSdkVersion 33
10+
buildToolsVersion "33.0.0"
1111

1212
defaultConfig {
1313
minSdkVersion 18
14-
targetSdkVersion 30
14+
targetSdkVersion 33
1515
versionCode pluginVersionCode
1616
versionName pluginVersionName
1717
}
18+
compileOptions {
19+
sourceCompatibility JavaVersion.VERSION_1_9
20+
targetCompatibility JavaVersion.VERSION_1_9
21+
}
1822

1923
libraryVariants.all { variant ->
2024
variant.outputs.all { output ->
@@ -25,6 +29,6 @@ android {
2529

2630
dependencies {
2731
implementation "androidx.legacy:legacy-support-v4:1.0.0"
28-
implementation 'com.android.billingclient:billing:4.0.0'
32+
implementation 'com.android.billingclient:billing:5.0.0'
2933
compileOnly fileTree(dir: 'libs', include: ['godot-lib*.aar'])
3034
}

0 commit comments

Comments
 (0)