Skip to content

Commit d09c84c

Browse files
author
Rafael Ortega
committed
raise min and target versions
1 parent 22b19ff commit d09c84c

File tree

3 files changed

+17
-10
lines changed

3 files changed

+17
-10
lines changed

build.gradle

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,13 @@
33
buildscript {
44
repositories {
55
jcenter()
6+
maven {
7+
url 'https://maven.google.com/'
8+
name 'Google'
9+
}
610
}
711
dependencies {
8-
classpath 'com.android.tools.build:gradle:2.3.2'
12+
classpath 'com.android.tools.build:gradle:3.5.0'
913

1014
// NOTE: Do not place your application dependencies here; they belong
1115
// in the individual module build.gradle files
@@ -14,6 +18,10 @@ buildscript {
1418
allprojects {
1519
repositories {
1620
jcenter()
21+
maven {
22+
url 'https://maven.google.com/'
23+
name 'Google'
24+
}
1725
}
1826
}
1927
task clean(type: Delete) {

dsbridge/build.gradle

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
apply plugin: 'com.android.library'
22

33
android {
4-
compileSdkVersion 23
5-
buildToolsVersion '25.0.0'
4+
compileSdkVersion 28
5+
buildToolsVersion '25.0.3'
66

77
defaultConfig {
8-
minSdkVersion 11
9-
targetSdkVersion 23
8+
minSdkVersion 14
9+
targetSdkVersion 28
1010
versionCode 1
1111
versionName "1.0"
1212

@@ -25,10 +25,10 @@ android {
2525
}
2626

2727
dependencies {
28-
compile fileTree(dir: 'libs', include: ['*.jar'])
29-
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
28+
implementation fileTree(dir: 'libs', include: ['*.jar'])
29+
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
3030
exclude group: 'com.android.support', module: 'support-annotations'
3131
})
32-
compile 'com.android.support:appcompat-v7:23.4.0'
33-
testCompile 'junit:junit:4.12'
32+
implementation 'com.android.support:appcompat-v7:28.0.0'
33+
testImplementation 'junit:junit:4.12'
3434
}

dsbridge/src/main/java/wendu/dsbridge/DWebView.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import android.annotation.SuppressLint;
44
import android.annotation.TargetApi;
55
import android.app.Activity;
6-
//import android.app.AlertDialog;
76
import android.app.Dialog;
87
import android.content.Context;
98
import android.content.DialogInterface;

0 commit comments

Comments
 (0)