Skip to content

Commit

Permalink
remove kotlin.main.kts conflict, test generator script still works, b…
Browse files Browse the repository at this point in the history
…ut syntax isn't known and complains about script in wrong place
  • Loading branch information
hg42 committed Aug 10, 2024
1 parent 6a616c3 commit 29e4b0e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,10 @@ dependencies {
// Needed for createComposeRule, but not createAndroidComposeRule:
debugImplementation(libs.compose.ui.test.manifest)
//---------------------------------------- hg42
implementation(libs.kotlin.main.kts)
// can only be enabled on demand, otherwise it conflicts with compilation
// TODO hg42 without thew library the .main.kts script still works, but syntax checking is not working
// TODO hg42 and ide complains about script at wrong place
//implementation(libs.kotlin.main.kts)
}

// using a task as a preBuild dependency instead of a function that takes some time insures that it runs
Expand Down

0 comments on commit 29e4b0e

Please sign in to comment.