Skip to content

Commit

Permalink
Fix test for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Virtlink committed Jul 31, 2024
1 parent 54405a3 commit 564eed2
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import io.kotest.core.spec.style.FunSpec
import io.kotest.engine.spec.tempdir
import io.kotest.matchers.file.shouldNotBeEmpty
import io.kotest.matchers.shouldBe
import java.nio.file.Path

/** Tests the [GenerateCommand]. */
class GenerateCommandTests: FunSpec({
Expand Down Expand Up @@ -95,7 +96,7 @@ class GenerateCommandTests: FunSpec({
gradleWrapper:
generate: true
update: true
gradleVersion: "latest"
gradleVersion: "8.9" # change this into `latest` when using Gradle 8
gradleDistributionType: "all"
gradleRootProject:
generate: true
Expand Down Expand Up @@ -139,6 +140,7 @@ class GenerateCommandTests: FunSpec({
"generate",
"--meta", metadataFile.toString(),
"--repo", projectDir.toString(),
"--gradle-bin", Path.of(System.getProperty("user.dir")).resolve("../gradlew").toString(),
"--force-update"
))

Expand Down

0 comments on commit 564eed2

Please sign in to comment.