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

Fix more CC compatibility issues #835

Closed
wants to merge 8 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix CC issues in tests
Goooler committed Feb 28, 2023
commit 85b9e06c8c2d1e239748bcd8dad9922b5a21f79c
Original file line number Diff line number Diff line change
@@ -105,7 +105,7 @@ class ApplicationSpec extends PluginSpecification {
runShadow {
args 'foo'
doFirst {
project.logger.lifecycle("Running application with JDK \${it.javaLauncher.get().metadata.languageVersion.asInt()}")
logger.lifecycle("Running application with JDK \${it.javaLauncher.get().metadata.languageVersion.asInt()}")
Goooler marked this conversation as resolved.
Show resolved Hide resolved
}
}
""".stripIndent()
Original file line number Diff line number Diff line change
@@ -52,6 +52,10 @@ class PublishingSpec extends PluginSpecification {
}
}
}

tasks.withType(org.gradle.api.publish.maven.tasks.GenerateMavenPom).configureEach {
notCompatibleWithConfigurationCache('https://github.com/gradle/gradle/issues/21926')
}
Goooler marked this conversation as resolved.
Show resolved Hide resolved
""".stripIndent()

when:
@@ -149,6 +153,10 @@ class PublishingSpec extends PluginSpecification {
}
}
}

tasks.withType(org.gradle.api.publish.maven.tasks.GenerateMavenPom).configureEach {
notCompatibleWithConfigurationCache('https://github.com/gradle/gradle/issues/21926')
}
""".stripMargin()

when:
Original file line number Diff line number Diff line change
@@ -47,6 +47,7 @@ class TransformCachingSpec extends AbstractCachingSpec {
}

shadowJar {
notCompatibleWithConfigurationCache('CustomTransformer is not cacheable')
transform(CustomTransformer)
}
""".stripIndent()