32 lines
840 B
Groovy
32 lines
840 B
Groovy
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
|
|
implementation 'com.android.billingclient:billing:2.2.1'
|
|
|
|
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'])
|
|
}
|
|
}
|