Mercurial > cgi-bin > hgweb.cgi > SimpleResizer
annotate app/build.gradle @ 34:19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
author | David Barts <n5jrn@me.com> |
---|---|
date | Thu, 11 Mar 2021 17:31:56 -0800 |
parents | |
children | 70f1d11d53ad |
rev | line source |
---|---|
34
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
1 plugins { |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
2 id 'com.android.application' |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
3 id 'kotlin-android' |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
4 } |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
5 |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
6 android { |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
7 compileSdkVersion 30 |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
8 buildToolsVersion "30.0.3" |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
9 |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
10 defaultConfig { |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
11 applicationId "com.bartsent.simpleresizer" |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
12 minSdkVersion 23 |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
13 targetSdkVersion 30 |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
14 versionCode 2 |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
15 versionName "1.01" |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
16 |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
17 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
18 } |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
19 |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
20 buildTypes { |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
21 release { |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
22 minifyEnabled false |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
23 proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
24 } |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
25 } |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
26 buildFeatures { |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
27 dataBinding true |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
28 viewBinding true |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
29 } |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
30 compileOptions { |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
31 sourceCompatibility JavaVersion.VERSION_1_8 |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
32 targetCompatibility JavaVersion.VERSION_1_8 |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
33 } |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
34 kotlinOptions { |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
35 jvmTarget = '1.8' |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
36 } |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
37 } |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
38 |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
39 dependencies { |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
40 |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
41 implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
42 implementation 'androidx.core:core-ktx:1.3.2' |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
43 implementation 'androidx.appcompat:appcompat:1.2.0' |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
44 implementation 'com.google.android.material:material:1.3.0' |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
45 implementation 'androidx.constraintlayout:constraintlayout:2.0.4' |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
46 implementation 'androidx.preference:preference:1.1.1' |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
47 testImplementation 'junit:junit:4.+' |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
48 androidTestImplementation 'androidx.test.ext:junit:1.1.2' |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
49 androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0' |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
50 } |