Skip to content
This repository has been archived by the owner on Jan 3, 2025. It is now read-only.

Commit

Permalink
Release 1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ThanosFisherman committed Apr 22, 2020
1 parent b473f4e commit 445ae41
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ task clean(type: Delete) {

ext {
compileSdkVersion = 29
buildToolsVersion = '29.0.0'
buildToolsVersion = '29.0.3'
minSdkVersion = 15
targetSdkVersion = 29
publishVersionName = '1.5.1'
publishVersionCode = 16
publishVersionName = '1.6.0'
publishVersionCode = 17

currentVersionDesc = 'WifiUtils current version'
bintrayRepo = 'maven'
Expand Down
4 changes: 2 additions & 2 deletions sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ dependencies {
api project(':wifiutils')
implementation "androidx.appcompat:appcompat:1.1.0"
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta4'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.2-alpha05'
testImplementation 'junit:junit:4.13'
androidTestImplementation 'androidx.test.ext:junit:1.1.2-beta01'
}
4 changes: 2 additions & 2 deletions wifiutils/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ dependencies {
})
implementation "androidx.annotation:annotation:1.1.0"
implementation 'com.thanosfisherman.elvis:elvis:2.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.2-alpha05'
testImplementation 'junit:junit:4.13'
androidTestImplementation 'androidx.test.ext:junit:1.1.2-beta01'
}
//apply from: 'install.gradle'
//apply from: 'bintray.gradle'
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ static WifiConfiguration getWifiConfiguration(@NonNull final WifiManager wifiMgr
return null;
}

@RequiresPermission(allOf = {ACCESS_FINE_LOCATION, ACCESS_WIFI_STATE})
@Nullable
static WifiConfiguration getWifiConfiguration(@NonNull final WifiManager wifiManager, @NonNull final String ssid) {
final List<WifiConfiguration> configuredNetworks = wifiManager.getConfiguredNetworks();
Expand Down

0 comments on commit 445ae41

Please sign in to comment.