Mercurial > cgi-bin > hgweb.cgi > SimpleResizer
annotate build.gradle @ 36:70f1d11d53ad
Attempt to make it work on Android 9 and earlier.
author | David Barts <n5jrn@me.com> |
---|---|
date | Fri, 19 Mar 2021 12:49:13 -0700 |
parents | 19c584b29679 |
children | d723d07d5bc0 |
rev | line source |
---|---|
34
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
1 // Top-level build file where you can add configuration options common to all sub-projects/modules. |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
2 buildscript { |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
3 ext.kotlin_version = "1.4.31" |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
4 repositories { |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
5 google() |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
6 jcenter() |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
7 } |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
8 dependencies { |
36
70f1d11d53ad
Attempt to make it work on Android 9 and earlier.
David Barts <n5jrn@me.com>
parents:
34
diff
changeset
|
9 classpath 'com.android.tools.build:gradle:4.1.3' |
34
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
10 classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
11 |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
12 // NOTE: Do not place your application dependencies here; they belong |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
13 // in the individual module build.gradle files |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
14 } |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
15 } |
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 allprojects { |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
18 repositories { |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
19 google() |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
20 jcenter() |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
21 } |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
22 } |
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 task clean(type: Delete) { |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
25 delete rootProject.buildDir |
19c584b29679
Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff
changeset
|
26 } |