Skip to content

Commit

Permalink
Update Dependencies v26
Browse files Browse the repository at this point in the history
*Update BuildTools, TargetSDK, and Dependencies to v26.
*Version bump to v1.7.
  • Loading branch information
rayliverified committed Sep 8, 2017
1 parent 5f1c097 commit 99c4fdc
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
11 changes: 6 additions & 5 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 25
buildToolsVersion "25.0.3"
compileSdkVersion 26
buildToolsVersion "26.0.1"
defaultConfig {
applicationId "stream.customalertsample"
minSdkVersion 15
targetSdkVersion 25
targetSdkVersion 26
versionCode 1
versionName "1.0"
vectorDrawables.useSupportLibrary true
Expand All @@ -22,11 +22,12 @@ android {
dependencies {
repositories {
maven { url 'https://jitpack.io' }
maven { url "https://maven.google.com" }
}
compile fileTree(include: ['*.jar'], dir: 'libs')
compile project(':customalert')
compile 'com.github.searchy2:CustomButton:1.2'

compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.android.support:design:25.3.1'
compile 'com.android.support:appcompat-v7:26.0.2'
compile 'com.android.support:design:26.0.2'
}
1 change: 1 addition & 0 deletions app/src/main/java/stream/customalertapp/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ public void onClick(View view) {
.setOnItemClickListener(new AdapterView.OnItemClickListener() {
@Override
public void onItemClick(AdapterView<?> adapterView, View view, int i, long l) {
CustomAlertDialogue.getInstance().dismiss();
Toast.makeText(mContext, "Selected " + i, Toast.LENGTH_SHORT).show();
}
})
Expand Down
13 changes: 8 additions & 5 deletions customalert/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven'

group='com.github.searchy2'
version = '1.6'
version = '1.7'

android {
compileSdkVersion 25
buildToolsVersion "25.0.3"
compileSdkVersion 26
buildToolsVersion "26.0.1"

defaultConfig {
minSdkVersion 15
targetSdkVersion 25
targetSdkVersion 26
}
buildTypes {
release {
Expand All @@ -21,7 +21,10 @@ android {
}

dependencies {
repositories {
maven { url "https://maven.google.com" }
}
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:design:25.3.1'
compile 'com.android.support:design:26.0.2'
}

0 comments on commit 99c4fdc

Please sign in to comment.