Jishin Dev [JD]
08/02/2023, 7:41 PM./gradlew -p lib serveDevelopmentZipline --info --continuous
.
Do I have to run any tasks before this one in order to have lib/build/compileSync
generated?
A problem was found with the configuration of task ':lib:compileDevelopmentExecutableKotlinJsZipline' (type 'ZiplineCompileTask').
- Type 'app.cash.zipline.gradle.ZiplineCompileTask' property 'inputDir' specifies directory '/Users/.../lib/build/compileSync/js/main/developmentExecutable/kotlin' which doesn't exist.
Reason: An input file was expected to be present but it doesn't exist.
Possible solutions:
1. Make sure the directory exists before the task is called.
2. Make sure that the task which produces the directory is declared as an input.
For more information, please refer to <https://docs.gradle.org/8.2.1/userguide/validation_problems.html#input_file_does_not_exist> in the Gradle documentation.
Please ask if any other info about project setup/versions etc would be required to understand whats going on.Andrew Alexander
08/02/2023, 7:46 PM./gradlew build
to get the directory populated firstAndrew Alexander
08/02/2023, 7:47 PMJishin Dev [JD]
08/02/2023, 7:53 PM./gradlew build
didn't fix it either. Don't see the /build/compileSync
folder being generated. I'm also on the k2 compiler. would it have anything to do with that? Not seeing any errors post the build tho.Jishin Dev [JD]
08/02/2023, 7:56 PM1.1.0
jdk - 18
kotlin - 1.9.0
with K2 enabledJishin Dev [JD]
08/02/2023, 8:04 PM1.8.21
, no K2, issue still persists.jessewilson
08/03/2023, 1:26 AMjessewilson
08/03/2023, 1:28 AMJishin Dev [JD]
08/03/2023, 4:48 AMjs(IR) {
browser()
binaries.executable()
}
Jishin Dev [JD]
08/03/2023, 4:50 AMIR
or with LEGACY
) breaks the build.Jishin Dev [JD]
08/03/2023, 1:32 PMjessewilson
08/03/2023, 2:15 PMjessewilson
08/03/2023, 2:16 PMjessewilson
08/03/2023, 2:16 PMJishin Dev [JD]
08/03/2023, 2:16 PM./gradlew -p lib build
jessewilson
08/03/2023, 2:20 PMjessewilson
08/03/2023, 2:21 PMJishin Dev [JD]
08/03/2023, 2:23 PM$ ./gradlew lib:compileDevelopmentExecutable
FAILURE: Build failed with an exception.
* What went wrong:
Cannot locate tasks that match 'lib:compileDevelopmentExecutable' as task 'compileDevelopmentExecutable' is ambiguous in project ':lib'. Candidates are: 'compileDevelopmentExecutableKotlinJs', 'compileDevelopmentExecutableKotlinJsZipline', 'compileTestDevelopmentExecutableKotlinJs'.
Jishin Dev [JD]
08/03/2023, 2:28 PM$ ./gradlew lib:compileDevelopmentExecutableKotlinJsZipline
produces the original error.Jishin Dev [JD]
08/03/2023, 2:29 PM$ ./gradlew lib:compileDevelopmentExecutableKotlinJs
passes, but no changes to lib/build
dir contents.jessewilson
08/03/2023, 2:53 PMJishin Dev [JD]
08/04/2023, 2:14 PMjessewilson
08/05/2023, 11:28 AMJishin Dev [JD]
08/06/2023, 8:06 AM1.8.22
, same as whats used by the sample, issue persists. attaching ss of gradle properties and build files.
Also, If its okay and if it'll help, I can zip and dm the project since its only a skeleton for now and no actual code. lmk.jessewilson
08/06/2023, 11:42 AM