File tree Expand file tree Collapse file tree 3 files changed +15
-2
lines changed
Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 11apply plugin : ' com.android.application'
2+ // apply plugin: 'com.jakewharton.butterknife'
23
34android {
45 compileSdkVersion 28
@@ -10,6 +11,12 @@ android {
1011 targetSdkVersion 28
1112 versionCode 1
1213 versionName " 1.0"
14+
15+ javaCompileOptions {
16+ annotationProcessorOptions {
17+ includeCompileClasspath = true
18+ }
19+ }
1320 }
1421 buildTypes {
1522 release {
@@ -33,8 +40,8 @@ dependencies {
3340 /* implementation ('com.heaven7.volley:volley_with_extra:1.0.1'){
3441 exclude group: 'com.android.support'
3542 }*/
36- implementation ' com.jakewharton:butterknife:10.0.0 '
37- annotationProcessor ' com.jakewharton:butterknife:10.0.0 '
43+ implementation ' com.jakewharton:butterknife:10.2.1 '
44+ annotationProcessor ' com.jakewharton:butterknife-compiler :10.2.1 '
3845
3946 implementation(' com.github.LightSun:util-v1:1.1.7-beta-x' ) {
4047 exclude group : ' com.android.support'
Original file line number Diff line number Diff line change 33buildscript {
44 repositories {
55 google()
6+ mavenCentral()
67 jcenter()
78 }
89 dependencies {
910 classpath ' com.android.tools.build:gradle:3.4.1'
1011 classpath ' com.github.dcendents:android-maven-gradle-plugin:2.1'
12+ // classpath 'com.jakewharton:butterknife-gradle-plugin:10.2.1'
1113 // NOTE: Do not place your application dependencies here; they belong
1214 // in the individual module build.gradle files
1315 // jcenter
@@ -19,6 +21,7 @@ buildscript {
1921allprojects {
2022 repositories {
2123 google()
24+ mavenCentral()
2225 jcenter()
2326 maven { url " https://jitpack.io" }
2427 }
Original file line number Diff line number Diff line change 1616# This option should only be used with decoupled projects. More details, visit
1717# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
1818# org.gradle.parallel=true
19+
20+ android.useAndroidX =true
21+ android.enableJetifier =true
You can’t perform that action at this time.
0 commit comments