Last active
June 7, 2021 12:28
-
-
Save AlexHuicu/7cef6d49e50442fcacfd33d9fb7dfb99 to your computer and use it in GitHub Desktop.
Gradle setup for TestParameterInjector
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gradle.projectsEvaluated { | |
tasks.withType(JavaCompile) { // For Java tests | |
options.compilerArgs << "-parameters" | |
} | |
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {// For Kotlin tests | |
kotlinOptions.freeCompilerArgs += ['-java-parameters'] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment