Skip to content

Commit e36e330

Browse files
authored
Tool version updates, corrected properties for JavaDoc and keystore (#147)
1 parent 2a10fb5 commit e36e330

File tree

7 files changed

+19
-20
lines changed

7 files changed

+19
-20
lines changed

build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ buildscript {
66
jcenter()
77
}
88
dependencies {
9-
classpath 'com.android.tools.build:gradle:2.2.0'
9+
classpath 'com.android.tools.build:gradle:2.2.3'
1010
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
1111
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.1'
1212
classpath 'org.ajoberstar:gradle-git:1.5.1'
@@ -34,9 +34,9 @@ if (project.ext.versionName == null) {
3434
}
3535

3636
project.ext.minSdkVersion = 15
37-
project.ext.compileSdkVersion = 24
38-
project.ext.buildToolsVersion = '24.0.2'
39-
project.ext.supportLibVersion = '24.2.1'
37+
project.ext.compileSdkVersion = 25
38+
project.ext.buildToolsVersion = '25.0.1'
39+
project.ext.supportLibVersion = '25.1.0'
4040

4141
task showVersion << {
4242
logger.lifecycle("Version ID: " + project.versionNum)

config/javadoc.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
task androidJavadocs(type: Javadoc) {
22
source = android.sourceSets.main.java.srcDirs
3-
title = "OpenYOLO"
3+
title = "AppAuth Android"
44
classpath = files(project.android.getBootClasspath())
55
options {
66
links "http://docs.oracle.com/javase/7/docs/api/"

config/keystore.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,24 @@ def generateKeystore = { keystoreFile ->
55
executable "keytool"
66
args [
77
"-genkey",
8-
"-keystore", "openyolo.keystore",
9-
"-alias", "openyolo",
8+
"-keystore", "appauth.keystore",
9+
"-alias", "appauth",
1010
"-keyalg", "RSA",
1111
"-keysize", "2048",
1212
"-validity", "10000",
13-
"-keypass", "openyolo",
14-
"-storepass", "openyolo",
15-
"-dname", "CN=openyolo"
13+
"-keypass", "appauth",
14+
"-storepass", "appauth",
15+
"-dname", "CN=appauth"
1616
]
1717
}
1818
}
1919

2020
// checks that a keystore exists in the expected location, and generates one
2121
// if it does not.
2222
ext.verifyKeystore = {
23-
def keystoreFile = file(new File(projectDir, "openyolo.keystore"))
23+
def keystoreFile = file(new File(projectDir, "appauth.keystore"))
2424
if (!keystoreFile.exists()) {
25-
logger.lifecycle("openyolo.keystore missing - creating one")
25+
logger.lifecycle("appauth.keystore missing - creating one")
2626
generateKeystore(keystoreFile)
2727
}
2828
}

gradle/wrapper/gradle-wrapper.jar

-628 Bytes
Binary file not shown.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Wed Sep 21 14:00:12 PDT 2016
1+
#Wed Jan 18 10:13:16 PST 2017
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-3.1-bin.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-bin.zip

gradlew

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,4 +161,9 @@ function splitJvmOpts() {
161161
eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
162162
JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
163163

164+
# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
165+
if [[ "$(uname)" == "Darwin" ]] && [[ "$HOME" == "$PWD" ]]; then
166+
cd "$(dirname "$0")"
167+
fi
168+
164169
exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"

gradlew.bat

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ goto fail
4949
@rem Get command-line arguments, handling Windows variants
5050

5151
if not "%OS%" == "Windows_NT" goto win9xME_args
52-
if "%@eval[2+2]" == "4" goto 4NT_args
5352

5453
:win9xME_args
5554
@rem Slurp the command line arguments.
@@ -60,11 +59,6 @@ set _SKIP=2
6059
if "x%~1" == "x" goto execute
6160

6261
set CMD_LINE_ARGS=%*
63-
goto execute
64-
65-
:4NT_args
66-
@rem Get arguments from the 4NT Shell from JP Software
67-
set CMD_LINE_ARGS=%$
6862

6963
:execute
7064
@rem Setup the command line

0 commit comments

Comments
 (0)