diff --git a/LICENSE.md b/LICENSE.md index da63eed7..f3abe5c6 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2016 Patches Klinefelter + Copyright 2017 Patches Klinefelter Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/README.md b/README.md index c0803e99..b4c2a80f 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ Then add it as a dependency: Gradle: ``` -compile 'com.isupatches:wisefy:1.0.6' +compile 'com.isupatches:wisefy:1.0.7' ``` Maven: @@ -50,7 +50,7 @@ Maven: com.isupatches wisefy - 1.0.6 + 1.0.7 pom ``` @@ -231,7 +231,7 @@ String ssid = mWiseFy.searchForSSID("SSID To Search For", 30000); ``` ## License ## -Copyright 2016 Patches Klinefelter +Copyright 2017 Patches Klinefelter Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at diff --git a/build.gradle b/build.gradle index 6d5eeacc..1bfd7e73 100644 --- a/build.gradle +++ b/build.gradle @@ -6,8 +6,8 @@ buildscript { } } dependencies { - classpath 'com.android.tools.build:gradle:2.2.3' - classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.6.2' + classpath 'com.android.tools.build:gradle:2.3.0' + classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.6.3' classpath "com.github.dcendents:android-maven-gradle-plugin:1.5" classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3' classpath "org.jacoco:org.jacoco.core:0.7.8" @@ -46,7 +46,7 @@ subprojects { ext { GROUP = "com.isupatches" - VERSION_NAME = "1.0.6" + VERSION_NAME = "1.0.7" BINTRAY_REPO = "Maven" BINTRAY_NAME = "wisefy" diff --git a/gradle/jacoco.gradle b/gradle/jacoco.gradle new file mode 100644 index 00000000..6c0e533b --- /dev/null +++ b/gradle/jacoco.gradle @@ -0,0 +1,35 @@ +apply plugin: 'jacoco' + +def coverageSourceDirs = [ + '../wisefy/src/main/java' +] + +def classDirs = fileTree( + dir: '../wisefy/build/intermediates/classes/debug/com/', + excludes: ['**/R.class', + '**/R$*.class', + '**/*$ViewBinder*.*', + '**/*MembersInjector*.*', + '**/BuildConfig.*', + '**/Manifest*.*', + '**/*$Lambda$*.class', + '**/*Factory*.class', + '**/*$Builder*']) + +task jacocoDebugTestReport(type: JacocoReport, dependsOn: ["connectedDebugAndroidTest"]) { + group = "Reporting" + description = "Generate Jacoco coverage report for debug tests" + classDirectories = classDirs + additionalSourceDirs = files(coverageSourceDirs) + sourceDirectories = files(coverageSourceDirs) + executionData = files([fileTree(dir: 'build/outputs/code-coverage/connected', include: '**/*.ec')]) + + onlyIf = { + true + } + + reports { + xml.enabled = true + html.enabled = true + } +} \ No newline at end of file diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar index 3baa851b..6bbd0019 100644 Binary files a/gradle/wrapper/gradle-wrapper.jar and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 3023e1c5..8c2272b3 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Sat Feb 04 20:20:36 CST 2017 +#Sat Mar 25 21:27:42 CDT 2017 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-3.4-all.zip diff --git a/gradlew b/gradlew index 27309d92..4453ccea 100755 --- a/gradlew +++ b/gradlew @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env sh ############################################################################## ## @@ -154,11 +154,19 @@ if $cygwin ; then esac fi -# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules -function splitJvmOpts() { - JVM_OPTS=("$@") +# Escape application args +save ( ) { + for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done + echo " " } -eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS -JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" +APP_ARGS=$(save "$@") -exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" +# Collect all arguments for the java command, following the shell quoting and substitution rules +eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" + +# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong +if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then + cd "$(dirname "$0")" +fi + +exec "$JAVACMD" "$@" diff --git a/gradlew.bat b/gradlew.bat index f6d5974e..e95643d6 100644 --- a/gradlew.bat +++ b/gradlew.bat @@ -49,7 +49,6 @@ goto fail @rem Get command-line arguments, handling Windows variants if not "%OS%" == "Windows_NT" goto win9xME_args -if "%@eval[2+2]" == "4" goto 4NT_args :win9xME_args @rem Slurp the command line arguments. @@ -60,11 +59,6 @@ set _SKIP=2 if "x%~1" == "x" goto execute set CMD_LINE_ARGS=%* -goto execute - -:4NT_args -@rem Get arguments from the 4NT Shell from JP Software -set CMD_LINE_ARGS=%$ :execute @rem Setup the command line diff --git a/javadoc/allclasses-frame.html b/javadoc/allclasses-frame.html index d609a97e..e917f75b 100644 --- a/javadoc/allclasses-frame.html +++ b/javadoc/allclasses-frame.html @@ -2,9 +2,9 @@ - -All Classes (wisefy 1.0.6 API) - + +All Classes (wisefy 1.0.7 API) + diff --git a/javadoc/allclasses-noframe.html b/javadoc/allclasses-noframe.html index f9e7d869..573c635e 100644 --- a/javadoc/allclasses-noframe.html +++ b/javadoc/allclasses-noframe.html @@ -2,9 +2,9 @@ - -All Classes (wisefy 1.0.6 API) - + +All Classes (wisefy 1.0.7 API) + diff --git a/javadoc/com/isupatches/wisefy/WiseFy.html b/javadoc/com/isupatches/wisefy/WiseFy.html index 30531356..8dd27dfb 100644 --- a/javadoc/com/isupatches/wisefy/WiseFy.html +++ b/javadoc/com/isupatches/wisefy/WiseFy.html @@ -2,9 +2,9 @@ - -WiseFy (wisefy 1.0.6 API) - + +WiseFy (wisefy 1.0.7 API) + @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ diff --git a/javadoc/com/isupatches/wisefy/package-summary.html b/javadoc/com/isupatches/wisefy/package-summary.html index 9a00eaa5..42705602 100644 --- a/javadoc/com/isupatches/wisefy/package-summary.html +++ b/javadoc/com/isupatches/wisefy/package-summary.html @@ -2,9 +2,9 @@ - -com.isupatches.wisefy (wisefy 1.0.6 API) - + +com.isupatches.wisefy (wisefy 1.0.7 API) + @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ diff --git a/javadoc/com/isupatches/wisefy/util/package-summary.html b/javadoc/com/isupatches/wisefy/util/package-summary.html index ab197a29..f570985e 100644 --- a/javadoc/com/isupatches/wisefy/util/package-summary.html +++ b/javadoc/com/isupatches/wisefy/util/package-summary.html @@ -2,9 +2,9 @@ - -com.isupatches.wisefy.util (wisefy 1.0.6 API) - + +com.isupatches.wisefy.util (wisefy 1.0.7 API) + @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ diff --git a/javadoc/overview-summary.html b/javadoc/overview-summary.html index 179f58a8..0c819377 100644 --- a/javadoc/overview-summary.html +++ b/javadoc/overview-summary.html @@ -2,9 +2,9 @@ - -Overview (wisefy 1.0.6 API) - + +Overview (wisefy 1.0.7 API) + @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@