summaryrefslogtreecommitdiff
path: root/platform/android/java/plugins/godotpayment/build.gradle
blob: 4f376c4587aed76441e2369aa9a703fb786af823 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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'])
    }
}