Skip to content

Commit

Permalink
Change Jacoco aggregation test to use java-gradle-plugin instead
Browse files Browse the repository at this point in the history
`kotlin-dsl` implies `java-gradle-plugin`, that's why it was triggering the
configuration cache failure.
  • Loading branch information
bamboo committed Dec 7, 2023
1 parent 93fb553 commit a850086
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class JacocoConfigurationCacheIntegrationTest extends AbstractIntegrationSpec {
}

@Issue('https://github.com/gradle/gradle/issues/26922')
def 'can aggregate with `kotlin-dsl` subproject'() {
def 'can aggregate with `java-gradle-plugin` subproject'() {
given:
file('settings.gradle.kts') << """
include(":plugin")
Expand All @@ -56,9 +56,8 @@ class JacocoConfigurationCacheIntegrationTest extends AbstractIntegrationSpec {
'''
createDir('plugin') {
file('build.gradle.kts') << '''
plugins { `kotlin-dsl` }
plugins { id("java-gradle-plugin") }
'''
file('src/main/kotlin/plugin.gradle.kts').touch()
}

expect:
Expand Down

0 comments on commit a850086

Please sign in to comment.