annotate 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 d723d07d5bc0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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 {
39
d723d07d5bc0 Update Kotlin.
David Barts <n5jrn@me.com>
parents: 36
diff changeset
3 ext.kotlin_version = "1.4.32"
34
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 }