File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11// Top-level build file where you can add configuration options common to all sub-projects/modules.
22
3+
34buildscript {
5+ apply from : " ${ rootDir.absolutePath} /ext.gradle"
46 repositories {
57 google()
68 jcenter()
@@ -9,6 +11,7 @@ buildscript {
911 dependencies {
1012 classpath " com.android.tools.build:gradle:$buildToolGradleVersion "
1113 classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion "
14+ classpath " com.squareup.sqldelight:gradle-plugin:$sqldelightVersion "
1215 }
1316}
1417
Original file line number Diff line number Diff line change 1+ // ext {
2+ // buildToolGradleVersion = "3.3.0"
3+ // kotlinVersion = "1.3.11"
4+ // supportVersion = "28.0.0"
5+ // okHttpVersion = "3.14.0"
6+ // sqldelightVersion = "1.1.1"
7+ // androidXVersion = "1.0.0"
8+ // }
Original file line number Diff line number Diff line change 33#
44
55buildToolGradleVersion = 3.3.0
6- kotlinVersion = 1.3.11
6+ kotlinVersion = 1.3.21
77supportVersion = 28.0.0
8- okHttpVersion = 3.13.1
9- sqldelightVersion = 1.0.3
8+ okHttpVersion = 3.14.0
9+ sqldelightVersion = 1.1.1
1010androidXVersion = 1.0.0
Original file line number Diff line number Diff line change @@ -28,14 +28,6 @@ android {
2828 }
2929}
3030
31- ext {
32- buildToolGradleVersion = " 3.3.0"
33- kotlinVersion = " 1.3.11"
34- supportVersion = " 28.0.0"
35- okHttpVersion = " 3.13.1"
36- sqldelightVersion = " 1.1.1"
37- androidXVersion = " 1.0.0"
38- }
3931
4032dependencies {
4133 implementation fileTree(include : [' *.jar' ], dir : ' libs' )
@@ -46,19 +38,6 @@ dependencies {
4638 implementation " com.squareup.sqldelight:android-driver:${ sqldelightVersion} "
4739}
4840
49- buildscript {
50- ext {
51- sqldelightVersion = " 1.1.1"
52- }
53- repositories {
54- google()
55- mavenCentral()
56- }
57- dependencies {
58- classpath " com.squareup.sqldelight:gradle-plugin:$sqldelightVersion "
59- }
60- }
61-
6241sqldelight {
6342 UploadDatabase {
6443 }
You can’t perform that action at this time.
0 commit comments