Skip to content

Commit

Permalink
Merge pull request #37 from sentiohq/upgrade
Browse files Browse the repository at this point in the history
upgrade build tool and lib
  • Loading branch information
JackyAndroid authored Jun 14, 2017
2 parents 26a0711 + dd71f3d commit 645fea5
Show file tree
Hide file tree
Showing 10 changed files with 31 additions and 32 deletions.
9 changes: 3 additions & 6 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ android {

}
}
compileSdkVersion 24
buildToolsVersion "24.0.3"
compileSdkVersion 25
buildToolsVersion "25.0.3"
enforceUniquePackageName false
defaultConfig {
applicationId "org.chromium.chrome.browser"
minSdkVersion 19
targetSdkVersion 24
targetSdkVersion 25
versionCode 1
versionName "1.0"
multiDexEnabled true
Expand All @@ -32,9 +32,6 @@ android {
noCompress "dat", "bin", "pak"
}

productFlavors {
wandoujia {}
}

lintOptions {
abortOnError false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public TintedImageButton(Context context, AttributeSet attrs, int defStyle) {
private void init(Context context, AttributeSet attrs, int defStyle) {
TypedArray a = context.obtainStyledAttributes(
attrs, R.styleable.TintedImage, defStyle, 0);
setTintInternal(a.getColorStateList(R.styleable.TintedImage_tint));
setTintInternal(a.getColorStateList(R.styleable.TintedImage_tintImage));
a.recycle();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public TintedImageView(Context context, AttributeSet attrs, int defStyle) {
private void init(Context context, AttributeSet attrs, int defStyle) {
TypedArray a = context.obtainStyledAttributes(
attrs, R.styleable.TintedImage, defStyle, 0);
setTintInternal(a.getColorStateList(R.styleable.TintedImage_tint));
setTintInternal(a.getColorStateList(R.styleable.TintedImage_tintImage));
a.recycle();
}

Expand Down
4 changes: 3 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@

buildscript {
repositories {
maven { url 'https://maven.google.com' }
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
classpath 'com.android.tools.build:gradle:2.3.3'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand All @@ -14,6 +15,7 @@ buildscript {

allprojects {
repositories {
maven { url 'https://maven.google.com' }
jcenter()
}
}
Expand Down
6 changes: 3 additions & 3 deletions libraries_res/androidmedia_res/build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
apply plugin: 'com.android.library'

android {
compileSdkVersion 24
buildToolsVersion "24.0.1"
compileSdkVersion 25
buildToolsVersion "25.0.3"

defaultConfig {
minSdkVersion 16
targetSdkVersion 24
targetSdkVersion 25
versionCode 1
versionName "1.0"
}
Expand Down
20 changes: 10 additions & 10 deletions libraries_res/chrome_res/build.gradle
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
apply plugin: 'com.android.library'

android {
compileSdkVersion 24
buildToolsVersion "24.0.1"
compileSdkVersion 25
buildToolsVersion "25.0.3"

enforceUniquePackageName false

defaultConfig {
minSdkVersion 19
targetSdkVersion 24
targetSdkVersion 25
versionCode 1
versionName "1.0"
}
Expand All @@ -23,13 +23,13 @@ android {
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:support-annotations:23.1.0'
compile 'com.android.support:recyclerview-v7:24.1.0'
compile 'com.android.support:support-v13:24.1.0'
compile 'com.android.support:multidex:1.0.0'
compile 'com.android.support:appcompat-v7:24.0.1'
compile 'com.android.support:mediarouter-v7:24.1.1'
compile 'com.android.support:design:24.1.0'
compile 'com.android.support:support-annotations:25.4.0'
compile 'com.android.support:recyclerview-v7:25.4.0'
compile 'com.android.support:support-v13:25.4.0'
compile 'com.android.support:multidex:1.0.1'
compile 'com.android.support:appcompat-v7:25.4.0'
compile 'com.android.support:mediarouter-v7:25.4.0'
compile 'com.android.support:design:25.4.0'
compile 'com.google.android.gms:play-services-cast:10.2.0'
compile 'com.google.android.gms:play-services-gcm:10.2.0'
compile 'com.google.android.gms:play-services-nearby:10.2.0'
Expand Down
2 changes: 1 addition & 1 deletion libraries_res/chrome_res/src/main/res/values/attrs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<resources>
<declare-styleable name="TintedImage">
<attr name="tint" format="reference|color" />
<attr name="tintImage" format="reference|color" />
</declare-styleable>

<declare-styleable name="HyperlinkPreference">
Expand Down
6 changes: 3 additions & 3 deletions libraries_res/content_res/build.gradle
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
apply plugin: 'com.android.library'

android {
compileSdkVersion 24
buildToolsVersion "24.0.0"
compileSdkVersion 25
buildToolsVersion "25.0.3"

enforceUniquePackageName false

defaultConfig {
minSdkVersion 16
targetSdkVersion 24
targetSdkVersion 25
versionCode 1
versionName "1.0"
}
Expand Down
6 changes: 3 additions & 3 deletions libraries_res/datausagechart_res/build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
apply plugin: 'com.android.library'

android {
compileSdkVersion 24
buildToolsVersion "24.0.3"
compileSdkVersion 25
buildToolsVersion "25.0.3"

defaultConfig {
minSdkVersion 16
targetSdkVersion 24
targetSdkVersion 25
versionCode 1
versionName "1.0"
}
Expand Down
6 changes: 3 additions & 3 deletions libraries_res/ui_res/build.gradle
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
apply plugin: 'com.android.library'

android {
compileSdkVersion 24
buildToolsVersion "24.0.3"
compileSdkVersion 25
buildToolsVersion "25.0.3"

enforceUniquePackageName false

defaultConfig {
minSdkVersion 16
targetSdkVersion 24
targetSdkVersion 25
versionCode 1
versionName "1.0"
}
Expand Down

0 comments on commit 645fea5

Please sign in to comment.