Skip to content

Commit

Permalink
upgrade gradle to v4.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanCheen committed Sep 30, 2020
1 parent fd73ba1 commit af40953
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 30 deletions.
12 changes: 6 additions & 6 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@ android {
jvmTarget = "1.8"
}

dataBinding {
enabled = true
}
// dataBinding {
// enabled = true
// }

// buildFeatures {
// dataBinding true
buildFeatures {
dataBinding true
// viewBinding true
// }
}

kapt {
arguments {
Expand Down
20 changes: 0 additions & 20 deletions app/src/main/java/me/yifeiyuan/flapdev/AsmTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,6 @@

/**
* Created by 程序亦非猿 on 2020/9/8.
*
* todo proxy 类的名字是 me/xxx/xxxProxy
*
* L1
* LINENUMBER 16 L1
* ALOAD 2
* NEW me/yifeiyuan/flap/apt/proxies/SimpleTextComponentProxy
* DUP
* INVOKESPECIAL me/yifeiyuan/flap/apt/proxies/SimpleTextComponentProxy.<init> ()V
* INVOKEVIRTUAL me/yifeiyuan/flap/Flap.register (Lme/yifeiyuan/flap/internal/ComponentProxy;)Lme/yifeiyuan/flap/ComponentRegistry;
* POP
* L2
* LINENUMBER 18 L2
* ALOAD 2
* NEW me/yifeiyuan/flap/apt/proxies/SimpleImageComponentProxy
* DUP
* INVOKESPECIAL me/yifeiyuan/flap/apt/proxies/SimpleImageComponentProxy.<init> ()V
* INVOKEVIRTUAL me/yifeiyuan/flap/Flap.register (Lme/yifeiyuan/flap/internal/ComponentProxy;)Lme/yifeiyuan/flap/ComponentRegistry;
* POP
*
*/
class AsmTest {

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.android.tools.build:gradle:4.0.1'
//https://github.com/StefMa/bintray-release
classpath "guru.stefma.bintrayrelease:bintrayrelease:1.1.1"
classpath 'com.novoda:bintray-release:0.9'
Expand Down
5 changes: 3 additions & 2 deletions flap-compiler/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation project(':flap-annotations')
implementation 'com.squareup:javapoet:1.11.1'
implementation 'com.google.auto.service:auto-service:1.0-rc6'
api 'com.google.auto.service:auto-service:1.0-rc6'
annotationProcessor 'com.google.auto.service:auto-service:1.0-rc6'
}

sourceCompatibility = "7"
Expand All @@ -16,7 +17,7 @@ publish {
userOrg = 'alancheen'
groupId = 'me.yifeiyuan.flap'
artifactId = 'flap-compiler'
publishVersion = '2.1.0'
publishVersion = '2.1.1'
desc = 'flap annotations'
website = 'https://github.com/AlanCheen/Flap'
}
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit af40953

Please sign in to comment.