Skip to content

Commit

Permalink
Update to jitpack.io
Browse files Browse the repository at this point in the history
  • Loading branch information
DeveloperPaul123 committed Oct 4, 2015
1 parent 7f9d9f0 commit ca1f078
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 12 deletions.
4 changes: 2 additions & 2 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 22
compileSdkVersion 23
buildToolsVersion '22.0.1'
defaultConfig {
applicationId 'com.devpaul.bluetoothutilitydemo'
minSdkVersion 14
targetSdkVersion 22
targetSdkVersion 23
versionCode 5
versionName '1.4'
}
Expand Down
21 changes: 12 additions & 9 deletions btutillib/build.gradle
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven'

group = 'com.github.DeveloperPaul123'

repositories {
mavenCentral()
jcenter()
maven { url 'https://dl.bintray.com/drummer-aidan/maven' }
maven { url "https://jitpack.io" }
}

android {
compileSdkVersion 22
buildToolsVersion "22.0.0"
compileSdkVersion 23
buildToolsVersion "22.0.1"

defaultConfig {
minSdkVersion 14
targetSdkVersion 22
targetSdkVersion 23
versionName project.VERSION_NAME
versionCode Integer.parseInt(project.VERSION_CODE)
}
Expand All @@ -26,9 +29,9 @@ android {

dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:support-v4:22.2.1'
compile 'com.android.support:appcompat-v7:22.2.1'
compile 'com.afollestad:material-dialogs:0.7.8.1'
compile 'com.android.support:support-v4:23.0.1'
compile 'com.android.support:appcompat-v7:23.0.1'
compile('com.afollestad.material-dialogs:core:0.8.1.0@aar') {
transitive = true
}
}

apply from: '../maven_push.gradle'
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:1.2.3'
classpath 'com.jakewharton.sdkmanager:gradle-plugin:0.12.+'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
Expand All @@ -23,6 +24,7 @@ allprojects {
repositories {
mavenCentral()
jcenter()
maven {url "https://jitpack.io"}
}
}

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-2.4-bin.zip

0 comments on commit ca1f078

Please sign in to comment.