File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33
44buildscript {
5- apply from : " ${ rootDir.absolutePath} /ext.gradle"
5+ // apply from: "${rootDir.absolutePath}/ext.gradle"
66 repositories {
77 google()
88 jcenter()
99 mavenCentral()
1010 }
1111 dependencies {
1212 classpath " com.android.tools.build:gradle:$buildToolGradleVersion "
13- classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion "
14- classpath " com.squareup.sqldelight:gradle-plugin:$sqldelightVersion "
1513 }
1614}
1715
Original file line number Diff line number Diff line change 44
55buildToolGradleVersion = 3.3.0
66kotlinVersion = 1.3.21
7+ androidMavenGradlePluginVersion = 2.1
78supportVersion = 28.0.0
89okHttpVersion = 3.14.0
910sqldelightVersion = 1.1.1
10- androidXVersion = 1.0.0
11+ androidXVersion = 1.0.0
12+
13+ uploadManagerVersionName = 0.9
Original file line number Diff line number Diff line change 55apply plugin : ' com.android.library'
66apply plugin : ' kotlin-android'
77apply plugin : ' com.squareup.sqldelight'
8+ apply plugin : ' com.github.dcendents.android-maven'
9+
10+ group = ' me.ctknight.uploadmanager'
11+ version = " $uploadManagerVersionName "
812
913android {
1014 compileSdkVersion 28
@@ -14,7 +18,7 @@ android {
1418 minSdkVersion 21
1519 targetSdkVersion 28
1620 versionCode 1
17- versionName " 1.0 "
21+ versionName " $u ploadManagerVersionName "
1822 }
1923 buildTypes {
2024 release {
@@ -28,17 +32,31 @@ android {
2832 }
2933}
3034
35+ buildscript {
36+ // apply from: "${rootDir.absolutePath}/ext.gradle"
37+ repositories {
38+ google()
39+ jcenter()
40+ mavenCentral()
41+ }
42+ dependencies {
43+ classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion "
44+ classpath " com.squareup.sqldelight:gradle-plugin:$sqldelightVersion "
45+ classpath " com.github.dcendents:android-maven-gradle-plugin:$androidMavenGradlePluginVersion "
46+ }
47+ }
3148
3249dependencies {
3350 implementation fileTree(include : [' *.jar' ], dir : ' libs' )
3451 implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:${ kotlinVersion} "
3552 implementation " androidx.core:core-ktx:${ androidXVersion} "
36- implementation " com.squareup.okhttp3:okhttp:${ okHttpVersion} "
53+ api " com.squareup.okhttp3:okhttp:${ okHttpVersion} "
3754 api " com.squareup.sqldelight:runtime:${ sqldelightVersion} "
3855 implementation " com.squareup.sqldelight:android-driver:${ sqldelightVersion} "
3956}
4057
4158sqldelight {
4259 UploadDatabase {
60+ // schemaOutputDirectory = file("db")
4361 }
4462}
Original file line number Diff line number Diff line change 1+ rootProject. name = ' UploadManager'
You can’t perform that action at this time.
0 commit comments