File tree Expand file tree Collapse file tree 7 files changed +9
-15
lines changed
kace-compiler/src/main/java/com/kanyun/kace/compiler Expand file tree Collapse file tree 7 files changed +9
-15
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - main
7+ - kotlin-2.0.0
78 pull_request :
89
910 # Allows you to run this workflow manually from the Actions tab
@@ -24,11 +25,11 @@ jobs:
2425 - name : Validate Gradle Wrapper
2526 uses : gradle/wrapper-validation-action@v1
2627
27- - name : Set up JDK 8
28+ - name : Set up JDK 11
2829 uses : actions/setup-java@v3
2930 with :
3031 distribution : ' zulu'
31- java-version : 8
32+ java-version : 11
3233
3334 - name : Setup Gradle
34353940 - name : Publish To Local
4041 run : ./gradlew publishToMavenLocal -PVERSION_NAME=0.0.0-SNAPSHOT
4142
42- - name : Set up JDK 11
43- uses : actions/setup-java@v3
44- with :
45- distribution : ' zulu'
46- java-version : 11
47-
4843 - name : Check spotless
4944 run : ./gradlew spotlessCheck --init-script gradle/init.gradle.kts --no-configuration-cache
5045
Original file line number Diff line number Diff line change @@ -15,11 +15,11 @@ jobs:
1515 - name : Check out
1616 uses : actions/checkout@v2
1717
18- - name : Set up JDK 8
18+ - name : Set up JDK 11
1919 uses : actions/setup-java@v2
2020 with :
2121 distribution : ' zulu'
22- java-version : ' 8 '
22+ java-version : ' 11 '
2323
2424 - name : Build & Publish Kace plugin to Maven Central
2525 run : chmod +x ./publish.sh && ./publish.sh
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ class KaceFirSupertypeGenerationExtension(
4949 override fun computeAdditionalSupertypes (
5050 classLikeDeclaration : FirClassLikeDeclaration ,
5151 resolvedSupertypes : List <FirResolvedTypeRef >,
52- typeResolver : TypeResolveService
52+ typeResolver : TypeResolveService ,
5353 ): List <FirResolvedTypeRef > {
5454 var shouldAddSuperType = false
5555 OUTER @ for (superTypeRef in resolvedSupertypes) {
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ class KaceIrTransformer(private val context: IrPluginContext) : IrElementTransfo
7777 // override fun <T> findViewByIdCached(owner, id) = ...
7878 declaration.addOverride(
7979 ANDROID_EXTENSIONS_FQNAME ,
80- FIND_VIEW_BY_ID_CACHED_NAME
80+ FIND_VIEW_BY_ID_CACHED_NAME ,
8181 ).apply {
8282 val parameterT = addTypeParameter(" T" , context.typeOfView())
8383 returnType = parameterT.defaultType.makeNullable()
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ import org.jetbrains.kotlin.ir.declarations.IrFunction
2727import org.jetbrains.kotlin.ir.declarations.IrSimpleFunction
2828import org.jetbrains.kotlin.ir.expressions.IrExpression
2929import org.jetbrains.kotlin.ir.expressions.impl.IrGetValueImpl
30- import org.jetbrains.kotlin.ir.types.IrType
3130import org.jetbrains.kotlin.ir.types.classOrNull
3231import org.jetbrains.kotlin.ir.util.allOverridden
3332import org.jetbrains.kotlin.ir.util.copyTo
Original file line number Diff line number Diff line change @@ -28,4 +28,4 @@ kotlin_version = 1.7.0
2828kotlin_coroutine_version = 1.6.3
2929
3030testAgp =false
31- agpVersion =4.2.2
31+ agpVersion =7.1.3
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33distributionPath =wrapper/dists
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
6- distributionUrl =https\://services.gradle.org/distributions/gradle-6.8.3 -bin.zip
6+ distributionUrl =https\://services.gradle.org/distributions/gradle-7.2 -bin.zip
You can’t perform that action at this time.
0 commit comments