Slackbot
12/04/2023, 11:35 AMThomas Broyer
12/04/2023, 12:16 PMapi, and never implementation (this might be a reason why you need to add runtimeClasspath).
But given that your plugin is a custom one, it's hard to help you without seeing its code. So first make sure you fully understand what GWT needs to see/work on; then match those needs to what Gradle provides for Java projects, and model what's needed for cross-project dependencies.
For example, among your projects, are there "shared" ones (between the client and the server)? How do you expose the sources to the client GWT projects? How about their dependencies? Are there transitive project dependencies? etc.Thomas Broyer
12/04/2023, 12:24 PMASIF KAMRAN MALICK
12/04/2023, 1:00 PMproject.configurations{
gwt
}
project.dependencies{
gwt project.deps.external.gwt
gwt project.deps.external.gwtDev
}
where the above declarations are as follows in the dependencies.gradle :
gwt: [
"com.google.gwt:validation-api:1.0.0.GA",
"com.google.gwt:gwt-dev:${gwtVersion}",
"com.google.gwt:gwt-user:${gwtVersion}",
"com.company.abc.def:XYZ_GWT:${someVersion}"
],
gwtDev: [
"com.google.gwt:gwt-dev:${gwtVersion}"
]
gwtVersion : 2.9.0
I'd love to use variants. But I was having a hard time trying to understand them and I'm not sure how feasible it would be for me right now to implement it across all projects.
Our plugin code is pretty short one. I think I can share some generic bits of it.
Please allow me a moment.ASIF KAMRAN MALICK
12/06/2023, 12:18 PM