Skip to content

Commit

Permalink
[*] updates
Browse files Browse the repository at this point in the history
- updated android tools plugin to v2.2.2
- added support for api 25
- updated support lib to v25.0.0
- build.gradle refactoring
  • Loading branch information
nisrulz committed Oct 22, 2016
1 parent 84e58f6 commit 4cf4de2
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.1'
classpath 'com.android.tools.build:gradle:2.2.2'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
10 changes: 5 additions & 5 deletions sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 24
compileSdkVersion 25
buildToolsVersion "24.0.3"

defaultConfig {
applicationId "com.github.nisrulz.senseysample"
minSdkVersion 9
targetSdkVersion 24
targetSdkVersion 25
versionCode 1
versionName "1.0"
jackOptions {
Expand All @@ -41,10 +41,10 @@ android {
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:24.2.1'
compile 'com.android.support:appcompat-v7:25.0.0'

// compile 'com.github.nisrulz:sensey:1.4.1'
// compile 'com.github.nisrulz:sensey:1.5.0'

// Module Dependency
compile project(':sensey')
compile project(':sensey')
}
22 changes: 11 additions & 11 deletions sensey/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
apply plugin: 'com.android.library'

android {
compileSdkVersion 24
compileSdkVersion 25
buildToolsVersion '24.0.3'

defaultConfig {
minSdkVersion 9
targetSdkVersion 24
versionCode 9
versionName '1.5.0'
targetSdkVersion 25
versionCode 10
versionName VERSION_NAME
}
buildTypes {
debug {
Expand All @@ -46,13 +46,14 @@ dependencies {
testCompile 'org.mockito:mockito-core:2.1.0'
testCompile "org.robolectric:robolectric:3.1.2"

compile 'com.android.support:support-compat:24.2.1'
compile 'com.android.support:support-compat:25.0.0'
}


// Bintray info
def LIB_MODULE_NAME = 'sensey'
def LIB_MODULE_DESC = 'Android library which makes detecting gestures a breeze'
def GITHUB_LINK = "https://github.com/nisrulz/sensey"
def GITHUB_REPO = "nisrulz/sensey"

ext {
bintrayRepo = 'maven'
Expand All @@ -65,9 +66,9 @@ ext {
libraryDescription = LIB_MODULE_DESC

// Your github repo link
siteUrl = POM_URL
gitUrl = POM_GIT_URL
githubRepository = LIB_GITHUB_REPO
siteUrl = GITHUB_LINK
gitUrl = GITHUB_LINK + ".git"
githubRepository = GITHUB_REPO

libraryVersion = VERSION_NAME

Expand All @@ -82,5 +83,4 @@ ext {

// Place it at the end of the file
apply from: 'https://raw.githubusercontent.com/nisrulz/JCenter/master/installv1.gradle'
apply from: 'https://raw.githubusercontent.com/nisrulz/JCenter/master/bintrayv1.gradle'

apply from: 'https://raw.githubusercontent.com/nisrulz/JCenter/master/bintrayv1.gradle'

0 comments on commit 4cf4de2

Please sign in to comment.