rp
01/24/2022, 10:06 AMcompileOnly
is not working. What version of Java are you using? I use:
openjdk 15.0.1 2020-10-20
OpenJDK Runtime Environment (build 15.0.1+9-18)
OpenJDK 64-Bit Server VM (build 15.0.1+9-18, mixed mode, sharing)
user
01/24/2022, 12:40 PMuser
01/24/2022, 1:05 PM./gradlew run
. When I run this at the command line, I get the same error. However, java -classpath "./core/*:./plugin-interface/*" io.supertokens.Main ./ DEV
seems to work because it specifies ./plugin-interface/*
in the classpathrp
01/24/2022, 1:09 PMjava -classpath "./core/*:./plugin-interface/*" io.supertokens.Main ./ DEV
only.user
01/24/2022, 1:10 PMrp
01/24/2022, 1:10 PMuser
01/24/2022, 1:10 PMrp
01/24/2022, 1:11 PMrp
01/24/2022, 1:11 PMuser
01/24/2022, 1:11 PMuser
01/24/2022, 1:16 PMcompileOnly project(":supertokens-plugin-interface")
, the plugin-interface project doesn't appear in gradle's runtimeClasspath
rp
01/24/2022, 1:17 PMjava -classpath "./core/*:./plugin-interface/*" io.supertokens.Main ./ DEV
, but i just don't rememeber how. Will check and get back soonuser
01/24/2022, 1:32 PMuser
01/24/2022, 1:33 PMuser
01/24/2022, 1:41 PMbuild.gradle
specifies dependencies, which gradle constructs its build model from. My sense, and I could be wrong, is that such dependencies should be captured only in this file, and will therefore be available both at the command-line and within IDEA (or any other IDE that supports gradle). Currently, the dependency (on plugin-interface) is in 3 places:
1) testImplementation
in gradle, for testing only
2) in the command java -classpath "./core/*:./plugin-interface/*" io.supertokens.Main ./ DEV
, only when ./startTestingEnv --wait
is running
and with @User's suggestion, now:
3) IDEA Module settingsuser
01/24/2022, 1:47 PMuser
01/24/2022, 1:48 PMuser
01/24/2022, 1:49 PMrp
01/24/2022, 3:36 PMrp
01/24/2022, 3:36 PMuser
01/24/2022, 6:39 PMuser
01/24/2022, 7:11 PMrp
01/25/2022, 3:56 AMankitzm
01/25/2022, 6:58 AMrp
01/25/2022, 6:58 AMankitzm
01/25/2022, 7:00 AMankitzm
01/25/2022, 7:01 AMankitzm
01/25/2022, 7:03 AMankitzm
01/25/2022, 7:14 AMrp
01/25/2022, 7:15 AMnpm run start
should have started the node server anyway