Skip to content

Commit

Permalink
Adjust scope for withContext, bump some versions, remove potential ma…
Browse files Browse the repository at this point in the history
…nifest conflicts

close #41
  • Loading branch information
isuPatches committed Jul 2, 2017
1 parent c9b9cb7 commit 48def3c
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ android:
components:
- platform-tools
- tools
- build-tools-25.0.2
- build-tools-25.0.3
- android-22
- android-25
- sys-img-armeabi-v7a-android-22
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ subprojects {

ext {
GROUP = "com.isupatches"
VERSION_NAME = "1.0.7"
VERSION_NAME = "1.0.8"

BINTRAY_REPO = "Maven"
BINTRAY_NAME = "wisefy"
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
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 @@
#Sat Mar 25 21:27:42 CDT 2017
#Sat Jul 01 22:48:36 CDT 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.4-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-3.5-all.zip
16 changes: 9 additions & 7 deletions wisefy/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ android {
}

compileSdkVersion 25
buildToolsVersion "25.0.2"
buildToolsVersion "25.0.3"

defaultConfig {
minSdkVersion 16
targetSdkVersion 25
versionCode 6
versionCode 7
versionName version
testInstrumentationRunner 'android.support.test.runner.AndroidJUnitRunner'
}
Expand All @@ -41,23 +41,25 @@ android {
debug {
testCoverageEnabled true
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
testProguardFile file("proguard-test-rules.txt")
}

release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:25.3.0'
compile 'com.android.support:appcompat-v7:25.3.1'

androidTestCompile 'com.android.support:support-annotations:25.3.0'
androidTestCompile 'com.android.support:support-annotations:25.3.1'
androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.2'
androidTestCompile 'org.mockito:mockito-android:2.6.9'
androidTestCompile 'org.mockito:mockito-android:2.8.47'
androidTestCompile 'com.android.support.test:runner:0.5'

testCompile 'org.mockito:mockito-core:2.7.19'
testCompile 'junit:junit:4.12'
Expand Down
File renamed without changes.
Empty file added wisefy/proguard-test-rules.txt
Empty file.
7 changes: 1 addition & 6 deletions wisefy/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,7 @@
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>

<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<application android:allowBackup="true">

<activity android:name=".base.TestActivity" android:exported="false"/>

Expand Down
2 changes: 1 addition & 1 deletion wisefy/src/main/java/com/isupatches/wisefy/WiseFy.java
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public static class withContext implements Logging, GetSmarts {
* @param context - The activity or application context to get a WifiConfiguration and
* ConnectivityManager instance
*/
withContext(Context context) {
public withContext(Context context) {
this.context = context;
}

Expand Down

1 comment on commit 48def3c

@isuPatches
Copy link
Owner Author

@isuPatches isuPatches commented on 48def3c Jul 2, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

close #41 - withConext method not public
close #42 - Bump versions
close #43 - Split proguard rules
close #44 - Eliminate potential manifest merger issues
close #45 - Fix potential memory leak for Android N
close #46 - Rename GetManagerUtil to ManagerUtil
close #47 - Explain WiseFy permissions in README
close #48 - Update tests to have better naming schema

Please sign in to comment.