Mercurial > cgi-bin > hgweb.cgi > SimpleResizer
annotate app/build.gradle @ 46:8205f3c17500 default tip
Tweak messages a little.
author | David Barts <n5jrn@me.com> |
---|---|
date | Wed, 14 Apr 2021 08:18:23 -0700 |
parents | 45e4df5226c0 |
children |
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 |
46 | 14 versionCode 6 |
15 versionName "1.05" | |
34
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
16 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
17 } |
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 buildTypes { |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
20 release { |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
21 minifyEnabled false |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
22 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
|
23 } |
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 buildFeatures { |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
26 dataBinding true |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
27 viewBinding true |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
28 } |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
29 compileOptions { |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
30 sourceCompatibility JavaVersion.VERSION_1_8 |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
31 targetCompatibility JavaVersion.VERSION_1_8 |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
32 } |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
33 kotlinOptions { |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
34 jvmTarget = '1.8' |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
35 } |
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 dependencies { |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
39 |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
40 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
|
41 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
|
42 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
|
43 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
|
44 implementation 'androidx.constraintlayout:constraintlayout:2.0.4' |
36
70f1d11d53ad
Attempt to make it work on Android 9 and earlier.
David Barts <n5jrn@me.com>
parents:
34
diff
changeset
|
45 implementation 'androidx.preference:preference-ktx:1.1.1' |
38
444fe4416c9b
Add unit tests of my resizing code.
David Barts <n5jrn@me.com>
parents:
36
diff
changeset
|
46 testImplementation 'junit:junit:4.13.2' |
444fe4416c9b
Add unit tests of my resizing code.
David Barts <n5jrn@me.com>
parents:
36
diff
changeset
|
47 androidTestImplementation 'androidx.test:runner:1.3.0' |
444fe4416c9b
Add unit tests of my resizing code.
David Barts <n5jrn@me.com>
parents:
36
diff
changeset
|
48 androidTestImplementation 'androidx.test:rules:1.3.0' |
34
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
49 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
|
50 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
|
51 } |