-
-
Notifications
You must be signed in to change notification settings - Fork 424
Task installShadowDist does not work with Gradle Configuration Cache enabled #775
Copy link
Copy link
Closed
Description
Shadow Version
7.1.2
Gradle Version
7.4.2
Expected Behavior
runShadow task runs with the gradle configuration cache enabled
Actual Behavior
Gradle produces an error saying the configuration cache requirements are not met by the task installShadowDist
- Task
:installShadowDistof typeorg.gradle.api.tasks.Sync: cannot serialize object of type 'org.gradle.api.internal.project.DefaultProject', a subtype of 'org.gradle.api.Project', as these are not supported with the configuration cache.
Gradle Build Script(s)
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
application
kotlin("jvm") version "1.7.0"
id("com.github.johnrengelman.shadow") version "7.1.2"
}
application.mainClass.set("MainKt")
repositories.mavenCentral()
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "11"
}
Sample project is here:
untitled.zip
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels