Skip to content

Commit

Permalink
Move test config
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler committed Aug 27, 2024
1 parent e6249e9 commit e7c7699
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ val isCiBuild = providers.environmentVariable("CI").isPresent

tasks.withType<Test>().configureEach {
useJUnitPlatform()
inputs.dir("src/test/test-projects").withPropertyName("testProjects")

maxParallelForks = if (isCiBuild) {
Runtime.getRuntime().availableProcessors()
Expand Down
4 changes: 0 additions & 4 deletions build-logic/src/main/kotlin/me.champeau.convention.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ java {
withJavadocJar()
}

tasks.test {
inputs.dir("src/test/test-projects").withPropertyName("testProjects")
}

gradlePlugin {
website = providers.gradleProperty("POM_URL")
vcsUrl = providers.gradleProperty("POM_URL")
Expand Down

0 comments on commit e7c7699

Please sign in to comment.