Skip to content

Commit f88eaee

Browse files
committed
Update android build.gradle
1 parent e621a7c commit f88eaee

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

src/AndroidClient/android/build.gradle

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,30 @@
11
apply plugin: 'com.android.library'
2-
apply plugin: 'kotlin-android'
32
apply plugin: 'com.github.dcendents.android-maven'
43
apply plugin: 'com.jfrog.bintray'
54

65
version = "1.0.28"
76

7+
dependencies {
8+
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.0'
9+
compile 'com.squareup.okhttp3:okhttp:3.6.0'
10+
compile fileTree(include: '*.jar', dir: 'libs')
11+
androidTestCompile 'junit:junit:4.12'
12+
androidTestCompile 'com.android.support.test:runner:0.5'
13+
androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.2'
14+
androidTestCompile 'com.android.support:support-annotations:25.2.0'
15+
}
16+
817
android {
9-
compileSdkVersion 24
10-
buildToolsVersion "23.0.2"
18+
compileSdkVersion 25
19+
buildToolsVersion "25.0.2"
1120

1221
defaultConfig {
1322
minSdkVersion 15
14-
targetSdkVersion 24
23+
targetSdkVersion 25
1524
versionCode 1
1625
versionName version
26+
27+
testInstrumentationRunner 'android.support.test.runner.AndroidJUnitRunner'
1728
}
1829
buildTypes {
1930
release {
@@ -94,13 +105,6 @@ install {
94105
}
95106
}
96107

97-
dependencies {
98-
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.0'
99-
compile fileTree(include: '*.jar', dir: 'libs')
100-
testCompile 'junit:junit:4.11'
101-
testCompile 'org.mockito:mockito-core:1.9.5'
102-
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
103-
}
104108
repositories {
105109
mavenCentral()
106110
}

0 commit comments

Comments
 (0)