You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Re-architecture of the Godot Android plugin.
This commit is contained in:
31
platform/android/java/plugins/godotpayment/build.gradle
Normal file
31
platform/android/java/plugins/godotpayment/build.gradle
Normal file
@@ -0,0 +1,31 @@
|
||||
apply plugin: 'com.android.library'
|
||||
|
||||
android {
|
||||
compileSdkVersion versions.compileSdk
|
||||
buildToolsVersion versions.buildTools
|
||||
|
||||
defaultConfig {
|
||||
minSdkVersion versions.minSdk
|
||||
targetSdkVersion versions.targetSdk
|
||||
}
|
||||
|
||||
libraryVariants.all { variant ->
|
||||
variant.outputs.all { output ->
|
||||
output.outputFileName = "GodotPayment.${variant.name}.aar"
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation libraries.supportCoreUtils
|
||||
implementation libraries.v4Support
|
||||
|
||||
if (rootProject.findProject(":lib")) {
|
||||
compileOnly project(":lib")
|
||||
} else if (rootProject.findProject(":godot:lib")) {
|
||||
compileOnly project(":godot:lib")
|
||||
} else {
|
||||
compileOnly fileTree(dir: 'libs', include: ['godot-lib*.aar'])
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user