build.gradle.tmpl 724 Bytes
Newer Older
1
group '{{androidIdentifier}}'
2
version '1.0'
3 4 5

buildscript {
    repositories {
6
        google()
7 8 9 10
        jcenter()
    }

    dependencies {
11
        classpath 'com.android.tools.build:gradle:3.5.0'
12 13 14
    }
}

15
rootProject.allprojects {
16
    repositories {
17
        google()
18 19 20 21 22 23 24
        jcenter()
    }
}

apply plugin: 'com.android.library'

android {
25
    compileSdkVersion 28
26 27

    defaultConfig {
28
        minSdkVersion 16
29 30 31 32
        {{#androidX}}
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
        {{/androidX}}
        {{^androidX}}
33
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
34
        {{/androidX}}
35 36 37 38 39
    }
    lintOptions {
        disable 'InvalidPackage'
    }
}