Skip to content

Commit

Permalink
Fix destroy method
Browse files Browse the repository at this point in the history
Update Gradle to 2.1.0
Update build version to 23.0.3
Update appcompat to 23.3.0
Bump version
Remove junit
Remove jcenter dependency
  • Loading branch information
HugoMatilla committed May 9, 2016
1 parent ecd6e69 commit b7a4bb3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
5 changes: 2 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'com.android.application'

android {
compileSdkVersion 23
buildToolsVersion "23.0.2"
buildToolsVersion "23.0.3"

defaultConfig {
applicationId "com.hugomatilla.audioplayerview.sample"
Expand All @@ -21,7 +21,6 @@ android {

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:appcompat-v7:23.3.0'
compile project(path: ':audioplayerview')
}
7 changes: 3 additions & 4 deletions audioplayerview/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ apply plugin: 'com.android.library'
ext {
PUBLISH_GROUP_ID = 'com.hugomatilla'
PUBLISH_ARTIFACT_ID = 'audioplayerview'
PUBLISH_VERSION = '1.0.0'
PUBLISH_VERSION = '1.0.1'
}

android {
compileSdkVersion 23
buildToolsVersion "23.0.2"
buildToolsVersion "23.0.3"

defaultConfig {
minSdkVersion 15
Expand All @@ -26,8 +26,7 @@ android {

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:appcompat-v7:23.3.0'
}

apply from: 'https://raw.githubusercontent.com/blundell/release-android-library/master/android-release-aar.gradle'
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ public void destroy() {
if (mediaPlayer != null) {
mediaPlayer.release();
mediaPlayer = null;
audioReady = false;
}
}

Expand Down
3 changes: 1 addition & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.0.0-beta2'
classpath 'com.android.tools.build:gradle:2.1.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

allprojects {
repositories {
jcenter()
}
}

Expand Down

0 comments on commit b7a4bb3

Please sign in to comment.