Skip to content

Commit bb315ed

Browse files
author
Nickolay Savchenko
committed
Fix buildscripts
1 parent d272400 commit bb315ed

File tree

2 files changed

+43
-5
lines changed

2 files changed

+43
-5
lines changed

example-client/build.gradle

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
buildscript {
2+
repositories {
3+
jcenter()
4+
maven {
5+
url "https://maven.google.com"
6+
}
7+
google()
8+
}
9+
dependencies {
10+
classpath 'com.android.tools.build:gradle:3.2.1'
11+
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
12+
}
13+
}
14+
15+
repositories {
16+
jcenter()
17+
maven { url "https://jitpack.io" }
18+
google()
19+
}
120

221
apply plugin: 'com.android.application'
322

@@ -35,8 +54,8 @@ dependencies {
3554
implementation 'io.reactivex.rxjava2:rxjava:2.1.15'
3655
implementation 'io.reactivex.rxjava2:rxandroid:2.0.2'
3756

38-
implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
39-
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
40-
implementation 'com.squareup.retrofit2:retrofit:2.3.0'
57+
implementation 'com.squareup.retrofit2:converter-gson:2.4.0'
58+
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.4.0'
59+
implementation 'com.squareup.retrofit2:retrofit:2.4.0'
4160
implementation project(':lib')
4261
}

lib/build.gradle

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
buildscript {
2+
repositories {
3+
jcenter()
4+
maven {
5+
url "https://maven.google.com"
6+
}
7+
google()
8+
}
9+
dependencies {
10+
classpath 'com.android.tools.build:gradle:3.2.1'
11+
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
12+
classpath 'org.codehaus.groovy:groovy-android-gradle-plugin:2.0.0'
13+
}
14+
}
15+
16+
repositories {
17+
jcenter()
18+
google()
19+
}
120

221
apply plugin: 'com.android.library'
322
apply plugin: 'com.github.dcendents.android-maven'
@@ -6,7 +25,7 @@ apply plugin: 'groovyx.android'
625
group='com.github.NaikSoftware'
726

827
android {
9-
compileSdkVersion 27
28+
compileSdkVersion 28
1029

1130
defaultConfig {
1231
minSdkVersion 16
@@ -46,7 +65,7 @@ dependencies {
4665
testImplementation 'org.testcontainers:testcontainers:1.8.0'
4766
testImplementation 'org.spockframework:spock-core:1.1-groovy-2.4'
4867
testImplementation 'org.java-websocket:Java-WebSocket:1.3.6'
49-
testImplementation 'com.squareup.okhttp3:okhttp:3.10.0'
68+
testImplementation 'com.squareup.okhttp3:okhttp:3.11.0'
5069
testImplementation 'ch.qos.logback:logback-classic:1.2.3'
5170
}
5271

0 commit comments

Comments
 (0)