This repository was archived by the owner on May 12, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +14
-38
lines changed Expand file tree Collapse file tree 2 files changed +14
-38
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ subprojects {
36
36
}
37
37
38
38
task wrapper (type : Wrapper ) {
39
- gradleVersion = ' 4.5.1 '
39
+ gradleVersion = ' 4.6 '
40
40
distributionUrl = " https://services.gradle.org/distributions/gradle-$gradleVersion -all.zip"
41
41
}
42
42
Original file line number Diff line number Diff line change 14
14
* limitations under the License.
15
15
*/
16
16
17
- buildscript {
18
- dependencies {
19
- classpath deps. build. gradlePlugins. android
20
- }
17
+ plugins {
18
+ id ' com.android.application'
21
19
}
22
20
23
- apply plugin : ' com.android.application'
24
-
25
21
android {
26
- compileSdkVersion deps. build. compileSdkVersion
27
- buildToolsVersion deps. build. buildToolsVersion
28
-
29
- defaultConfig {
30
- applicationId " com.uber.myapplication"
31
- minSdkVersion deps. build. minSdkVersion
32
- targetSdkVersion deps. build. targetSdkVersion
33
- versionCode 1
34
- versionName " 1.0"
35
- }
36
- compileOptions {
37
- sourceCompatibility JavaVersion . VERSION_1_7
38
- targetCompatibility JavaVersion . VERSION_1_7
39
- }
40
-
41
- // Setup a simple lint config for an android app/library.
42
- lintOptions {
43
- abortOnError true
44
- lintConfig rootProject. file(' config/lint/lint.xml' )
45
- disable ' InvalidPackage'
46
- }
47
- }
48
-
49
- // This is required to run checkstyle on an android app/library.
50
- task checkstyle (type : Checkstyle ) {
51
- source ' src'
52
- include ' **/*.java'
53
- exclude ' **/gen/**'
54
-
55
- classpath = files()
22
+ compileSdkVersion deps. build. compileSdkVersion
23
+ buildToolsVersion deps. build. buildToolsVersion
24
+
25
+ defaultConfig {
26
+ minSdkVersion deps. build. minSdkVersion
27
+ targetSdkVersion deps. build. targetSdkVersion
28
+ }
29
+ compileOptions {
30
+ sourceCompatibility JavaVersion . VERSION_1_7
31
+ targetCompatibility JavaVersion . VERSION_1_7
32
+ }
56
33
}
57
- check. dependsOn ' checkstyle'
58
34
59
35
60
36
dependencies {
You can’t perform that action at this time.
0 commit comments