Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build failed #121

Open
2314372037 opened this issue Sep 30, 2021 · 3 comments
Open

build failed #121

2314372037 opened this issue Sep 30, 2021 · 3 comments
Assignees

Comments

@2314372037
Copy link

common-compose-module-configs-script-plugin.gradle.kts文件报错
AGP : 7.1.0-alpha12
Gradle : 7.2
gradle plugin : 1.5.21
下面的代码报错:
android {
compileSdk = ProjectConfigs.compileSdkVersion

defaultConfig {
    minSdk = ProjectConfigs.minSdkVersion
    targetSdk = ProjectConfigs.targetSdkVersion
}

compileOptions {
    sourceCompatibility = JavaVersion.VERSION_1_8
    targetCompatibility = JavaVersion.VERSION_1_8
}
kotlinOptions {
    jvmTarget = "1.8"
    freeCompilerArgs = freeCompilerArgs + "-Xopt-in=kotlin.RequiresOptIn"
}
buildFeatures {
    compose = true
}
composeOptions {
    kotlinCompilerExtensionVersion = ProjectConfigs.kotlinCompilerExtensionVersion
}

}
类似于#112

@JeckOnly
Copy link

JeckOnly commented Oct 6, 2021

the same

@Gurupreet
Copy link
Owner

Thanks let me try to add fix for stable AS version. Project should be working on Latest canary version.

@Gurupreet Gurupreet self-assigned this Oct 10, 2021
@joelc1225
Copy link

joelc1225 commented Nov 21, 2021

Same error on latest Canary

Android Studio Chipmunk | 2021.2.1 Canary 5
Build #AI-212.5457.46.2112.7905983, built on November 11, 2021
Runtime version: 11.0.12+0-b1504.28-7817840 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 11.6
GC: G1 Young Generation, G1 Old Generation
Memory: 1280M
Cores: 16
Registry: external.system.auto.import.disabled=true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants