File tree Expand file tree Collapse file tree 4 files changed +15
-10
lines changed Expand file tree Collapse file tree 4 files changed +15
-10
lines changed Original file line number Diff line number Diff line change 2020apply plugin : ' com.android.application'
2121
2222android {
23- compileSdkVersion 25
24- buildToolsVersion " 24 .0.3"
23+ compileSdkVersion 27
24+ buildToolsVersion ' 25 .0.3'
2525 defaultConfig {
2626 applicationId " com.sample"
2727 minSdkVersion 15
28- targetSdkVersion 25
28+ targetSdkVersion 27
2929 versionCode 1
3030 versionName " 1.0"
3131 testInstrumentationRunner " android.support.test.runner.AndroidJUnitRunner"
@@ -47,8 +47,10 @@ dependencies {
4747 androidTestCompile(' com.android.support.test.espresso:espresso-core:2.2.2' , {
4848 exclude group : ' com.android.support' , module : ' support-annotations'
4949 })
50- compile ' com.android.support:appcompat-v7:25 .0.0'
50+ compile ' com.android.support:appcompat-v7:27 .0.0'
5151 testCompile ' junit:junit:4.12'
5252 compile ' net.zetetic:android-database-sqlcipher:3.5.7@aar'
53+ compile " android.arch.persistence.room:runtime:1.0.0"
54+ annotationProcessor " android.arch.persistence.room:compiler:1.0.0"
5355 debugCompile project(' :debug-db' )
5456}
Original file line number Diff line number Diff line change 2222buildscript {
2323 repositories {
2424 jcenter()
25+ google()
2526 }
2627 dependencies {
27- classpath ' com.android.tools.build:gradle:2.2.0 '
28+ classpath ' com.android.tools.build:gradle:2.3.3 '
2829 classpath ' com.jfrog.bintray.gradle:gradle-bintray-plugin:1.4'
2930 classpath ' com.github.dcendents:android-maven-gradle-plugin:1.4.1'
3031
@@ -36,6 +37,7 @@ buildscript {
3637allprojects {
3738 repositories {
3839 jcenter()
40+ google()
3941 }
4042}
4143
Original file line number Diff line number Diff line change 2020apply plugin : ' com.android.library'
2121
2222android {
23- compileSdkVersion 25
24- buildToolsVersion " 24 .0.3"
23+ compileSdkVersion 27
24+ buildToolsVersion ' 25 .0.3'
2525
2626 defaultConfig {
27- minSdkVersion 9
28- targetSdkVersion 25
27+ minSdkVersion 14
28+ targetSdkVersion 27
2929 versionCode 1
3030 versionName " 1.0"
3131
@@ -50,6 +50,7 @@ dependencies {
5050 testCompile ' junit:junit:4.12'
5151 compile ' com.google.code.gson:gson:2.8.0'
5252 compile ' net.zetetic:android-database-sqlcipher:3.5.7@aar'
53+ compile " android.arch.persistence.room:runtime:1.0.0"
5354}
5455
5556// apply from: 'debug-db-upload.gradle'
Original file line number Diff line number Diff line change @@ -22,4 +22,4 @@ distributionBase=GRADLE_USER_HOME
2222distributionPath =wrapper/dists
2323zipStoreBase =GRADLE_USER_HOME
2424zipStorePath =wrapper/dists
25- distributionUrl =https\://services.gradle.org/distributions/gradle-2.14 .1-all.zip
25+ distributionUrl =https\://services.gradle.org/distributions/gradle-4 .1-all.zip
You can’t perform that action at this time.
0 commit comments