Skip to content

Commit 1f08ab7

Browse files
committed
bumping gradle version
1 parent 41f8dda commit 1f08ab7

File tree

9 files changed

+25
-51
lines changed

9 files changed

+25
-51
lines changed

app/build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ android {
55
buildToolsVersion rootProject.ext.buildToolsVersion
66

77
defaultConfig {
8+
multiDexEnabled true
89
applicationId "com.github.pwittchen.reactivesensors"
910
minSdkVersion rootProject.ext.minSdkVersion
1011
targetSdkVersion rootProject.ext.compileSdkVersion

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ buildscript {
2626
}
2727
}
2828
dependencies {
29-
classpath 'com.android.tools.build:gradle:3.5.3'
29+
classpath 'com.android.tools.build:gradle:3.6.1'
3030

3131
// NOTE: Do not place your application dependencies here; they belong
3232
// in the individual module build.gradle files

config/quality.gradle

+1-27
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
apply plugin: 'checkstyle'
2-
apply plugin: 'findbugs'
32
apply plugin: 'pmd'
43

54
// Add checkstyle, findbugs, pmd and lint to the check task.
6-
check.dependsOn 'checkstyle', 'findbugs', 'pmd', 'lint'
5+
check.dependsOn 'checkstyle', 'pmd', 'lint'
76

87
checkstyle {
98
toolVersion = "6.0"
@@ -18,31 +17,6 @@ task checkstyle(type: Checkstyle) {
1817
classpath = files()
1918
}
2019

21-
task findbugs(type: FindBugs) {
22-
ignoreFailures = false
23-
effort = "max"
24-
reportLevel = "high"
25-
excludeFilter = new File("${project.rootDir}/config/quality/findbugs/findbugs-filter.xml")
26-
classes = files("${project.rootDir}/app/build/intermediates/javac")
27-
28-
source 'src'
29-
include '**/*.java'
30-
exclude '**/gen/**'
31-
32-
reports {
33-
xml.enabled = false
34-
html.enabled = true
35-
xml {
36-
destination file("$project.buildDir/reports/findbugs/findbugs.xml")
37-
}
38-
html {
39-
destination file("$project.buildDir/reports/findbugs/findbugs.html")
40-
}
41-
}
42-
43-
classpath = files()
44-
}
45-
4620
task pmd(type: Pmd) {
4721
ignoreFailures = false
4822
ruleSetFiles = files("${project.rootDir}/config/quality/pmd/pmd-ruleset.xml")

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ POM_DEVELOPER_ID=pwittchen
1414
POM_DEVELOPER_NAME=Piotr Wittchen
1515

1616
org.gradle.daemon=true
17-
org.gradle.jvmargs=-XX:MaxPermSize=1024m -XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -Xmx2048m
17+
org.gradle.jvmargs=-XX:MaxPermSize=1024m -XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -Xmx2048m -XX:MaxHeapSize=3048

gradle/wrapper/gradle-wrapper.jar

3.01 KB
Binary file not shown.
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.2.1-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

gradlew

+15-20
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# you may not use this file except in compliance with the License.
88
# You may obtain a copy of the License at
99
#
10-
# http://www.apache.org/licenses/LICENSE-2.0
10+
# https://www.apache.org/licenses/LICENSE-2.0
1111
#
1212
# Unless required by applicable law or agreed to in writing, software
1313
# distributed under the License is distributed on an "AS IS" BASIS,
@@ -125,8 +125,8 @@ if $darwin; then
125125
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
126126
fi
127127

128-
# For Cygwin, switch paths to Windows format before running java
129-
if $cygwin ; then
128+
# For Cygwin or MSYS, switch paths to Windows format before running java
129+
if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
130130
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
131131
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
132132
JAVACMD=`cygpath --unix "$JAVACMD"`
@@ -154,19 +154,19 @@ if $cygwin ; then
154154
else
155155
eval `echo args$i`="\"$arg\""
156156
fi
157-
i=$((i+1))
157+
i=`expr $i + 1`
158158
done
159159
case $i in
160-
(0) set -- ;;
161-
(1) set -- "$args0" ;;
162-
(2) set -- "$args0" "$args1" ;;
163-
(3) set -- "$args0" "$args1" "$args2" ;;
164-
(4) set -- "$args0" "$args1" "$args2" "$args3" ;;
165-
(5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
166-
(6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
167-
(7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
168-
(8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
169-
(9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
160+
0) set -- ;;
161+
1) set -- "$args0" ;;
162+
2) set -- "$args0" "$args1" ;;
163+
3) set -- "$args0" "$args1" "$args2" ;;
164+
4) set -- "$args0" "$args1" "$args2" "$args3" ;;
165+
5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
166+
6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
167+
7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
168+
8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
169+
9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
170170
esac
171171
fi
172172

@@ -175,14 +175,9 @@ save () {
175175
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
176176
echo " "
177177
}
178-
APP_ARGS=$(save "$@")
178+
APP_ARGS=`save "$@"`
179179

180180
# Collect all arguments for the java command, following the shell quoting and substitution rules
181181
eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
182182

183-
# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
184-
if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
185-
cd "$(dirname "$0")"
186-
fi
187-
188183
exec "$JAVACMD" "$@"

gradlew.bat

+4-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
@rem you may not use this file except in compliance with the License.
66
@rem You may obtain a copy of the License at
77
@rem
8-
@rem http://www.apache.org/licenses/LICENSE-2.0
8+
@rem https://www.apache.org/licenses/LICENSE-2.0
99
@rem
1010
@rem Unless required by applicable law or agreed to in writing, software
1111
@rem distributed under the License is distributed on an "AS IS" BASIS,
@@ -29,6 +29,9 @@ if "%DIRNAME%" == "" set DIRNAME=.
2929
set APP_BASE_NAME=%~n0
3030
set APP_HOME=%DIRNAME%
3131

32+
@rem Resolve any "." and ".." in APP_HOME to make it shorter.
33+
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
34+
3235
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
3336
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
3437

library/build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ android {
77
buildToolsVersion rootProject.ext.buildToolsVersion
88

99
defaultConfig {
10+
multiDexEnabled true
1011
minSdkVersion rootProject.ext.minSdkVersion
1112
targetSdkVersion rootProject.ext.compileSdkVersion
1213
versionCode 1

0 commit comments

Comments
 (0)