annotate 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
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 {
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 {
19c584b29679 Add gradle files, bump rev to bypass installer cache misfeature.
David Barts <n5jrn@me.com>
parents:
diff changeset
9 classpath "com.android.tools.build:gradle:4.1.2"
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 }