Skip to content

Commit

Permalink
Update buildTools and compileSdkVersion / targetSdkVersion.
Browse files Browse the repository at this point in the history
closes #31 (Memory Leak: Activity Leak on PixlUIfaceManager.INSTANCE)
  • Loading branch information
yvanneopixl committed Jul 21, 2017
1 parent ad462ab commit 0e2c3bf
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions Library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ android {
}

android {
compileSdkVersion 23
buildToolsVersion "23.0.2"
compileSdkVersion 25
buildToolsVersion "25.0.3"

defaultConfig {
minSdkVersion 7
targetSdkVersion 23
targetSdkVersion 25
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public static PixlUIfaceManager getInstance(Context context) {
* they exist.
*/
private PixlUIfaceManager(Context context) {
mContext = context;
mContext = context.getApplicationContext();
}

/**
Expand Down
6 changes: 3 additions & 3 deletions Sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ dependencies {
}

android {
compileSdkVersion 23
compileSdkVersion 25
buildToolsVersion = rootProject.ext.buildToolsVersion
sourceSets {
main {
Expand All @@ -21,7 +21,7 @@ android {
}
defaultConfig {
minSdkVersion 8
targetSdkVersion 23
targetSdkVersion 25
}
buildToolsVersion '23.0.2'
buildToolsVersion '25.0.3'
}
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
ext {
buildToolsVersion = '23.0.1'
buildToolsVersion = '25.0.3'
}

buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.3.0'
classpath 'com.android.tools.build:gradle:2.3.3'
}
}

Expand All @@ -17,5 +17,5 @@ allprojects {
}

group 'com.neopixl.pixlui'
version = '1.1.0'
version = '1.1.1'
}
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Mon Oct 20 13:59:05 CST 2014
#Fri Jul 21 14:07:20 CEST 2017
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-3.3-all.zip

0 comments on commit 0e2c3bf

Please sign in to comment.