373db27788
This is the only location in the codebase where it's being used, so no need to make the main lib have a dependency on it.
(cherry picked from commit c591cb8fda
)
33 lines
819 B
Groovy
33 lines
819 B
Groovy
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
compileSdkVersion versions.compileSdk
|
|
buildToolsVersion versions.buildTools
|
|
useLibrary 'org.apache.http.legacy'
|
|
|
|
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'])
|
|
}
|
|
}
|