Skip to content

Commit d11c741

Browse files
committed
opt
1 parent 1ca4a73 commit d11c741

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

Drag-FlowLayout/app/build.gradle

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
apply plugin: 'com.android.application'
2+
//apply plugin: 'com.jakewharton.butterknife'
23

34
android {
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'

Drag-FlowLayout/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@
33
buildscript {
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 {
1921
allprojects {
2022
repositories {
2123
google()
24+
mavenCentral()
2225
jcenter()
2326
maven { url "https://jitpack.io" }
2427
}

Drag-FlowLayout/gradle.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@
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

0 commit comments

Comments
 (0)