Jordan Haven
07/13/2023, 4:25 PMproject.version) through to read it in my kotlin module. I've tried every permutation of setProperty and environment (within tasks.withType<JavaExec> {}), and just a blanket System.setProperty() , in both the root build.gradle.kts as well as the module build.gradle.kts. No matter what, my corresponding System.getProperty() or System.getenv() is returning null in my kotlin file. Anyone got any pointers?mbonnin
07/13/2023, 4:31 PMproject.version at runtime?mbonnin
07/13/2023, 4:33 PMrun task to put the version in the environment but that only works if you invoke from Gradle (./gradlew run )mbonnin
07/13/2023, 4:33 PMmbonnin
07/13/2023, 4:34 PMin both the root build.gradle.kts as well as the module build.gradle.kts.Oh, I missed that, looks like it's all Gradle
Jordan Haven
07/13/2023, 4:34 PMmbonnin
07/13/2023, 4:35 PMmbonnin
07/13/2023, 4:36 PMJordan Haven
07/13/2023, 4:36 PMmbonnin
07/13/2023, 4:36 PMmbonnin
07/13/2023, 4:37 PMmbonnin
07/13/2023, 4:37 PMJordan Haven
07/13/2023, 4:37 PMmbonnin
07/13/2023, 4:37 PMJordan Haven
07/13/2023, 4:37 PMmbonnin
07/13/2023, 4:38 PM