Skip to content

Commit

Permalink
Upgrade Gradle plugins, SDK version and Google Play Billing Library
Browse files Browse the repository at this point in the history
  • Loading branch information
timoschwarzer committed Sep 1, 2022
1 parent dccd3b7 commit eeaf309
Show file tree
Hide file tree
Showing 6 changed files with 341 additions and 295 deletions.
4 changes: 2 additions & 2 deletions GodotGooglePlayBilling.gdap
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

name="GodotGooglePlayBilling"
binary_type="local"
binary="GodotGooglePlayBilling.1.1.2.release.aar"
binary="GodotGooglePlayBilling.2.0.0-rc.1.release.aar"

[dependencies]
remote=["com.android.billingclient:billing:4.0.0"]
remote=["com.android.billingclient:billing:5.0.0"]
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
buildscript {
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:4.0.0"
classpath "com.android.tools.build:gradle:7.2.2"

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand All @@ -15,7 +15,7 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
mavenCentral()
}
}

Expand Down
16 changes: 10 additions & 6 deletions godot-google-play-billing/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,23 @@ plugins {
id 'com.android.library'
}

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

android {
compileSdkVersion 30
buildToolsVersion "30.0.3"
compileSdkVersion 33
buildToolsVersion "33.0.0"

defaultConfig {
minSdkVersion 18
targetSdkVersion 30
targetSdkVersion 33
versionCode pluginVersionCode
versionName pluginVersionName
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_9
targetCompatibility JavaVersion.VERSION_1_9
}

libraryVariants.all { variant ->
variant.outputs.all { output ->
Expand All @@ -25,6 +29,6 @@ android {

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

0 comments on commit eeaf309

Please sign in to comment.