Slackbot
05/16/2022, 6:30 AMChris Lee
05/16/2022, 7:36 AMChris Lee
05/16/2022, 7:45 AMAndres Almiray
05/16/2022, 7:47 AMAndres Almiray
05/16/2022, 7:48 AMChris Lee
05/16/2022, 7:51 AMChris Lee
05/16/2022, 7:54 AMAndres Almiray
05/16/2022, 7:55 AMChris Lee
05/16/2022, 7:56 AMVampire
05/16/2022, 8:32 AMVampire
05/16/2022, 8:33 AMVampire
05/16/2022, 8:34 AMVampire
05/16/2022, 8:34 AMVampire
05/16/2022, 8:35 AMAndres Almiray
05/16/2022, 8:36 AMVampire
05/16/2022, 8:37 AMAndres Almiray
05/16/2022, 8:37 AMVampire
05/16/2022, 8:37 AMAndres Almiray
05/16/2022, 8:39 AMVampire
05/16/2022, 8:41 AMVampire
05/16/2022, 8:42 AMAndres Almiray
05/16/2022, 8:43 AMVampire
05/16/2022, 8:45 AMprivate FileCollection resolveClasspath() {
project.files(
new File(JandexMain.protectionDomain.codeSource.location.toURI()).absoluteFile,
classpath)
}
Vampire
05/16/2022, 8:46 AMjavaexec { ... }
. One point for the hip. 😉Andres Almiray
05/16/2022, 8:46 AMAndres Almiray
05/16/2022, 8:48 AMVampire
05/16/2022, 8:48 AMVampire
05/16/2022, 8:49 AMFAIL_ON_PROJECT_REPOS
, at most make it optional or just require the user configured a repository where the dependency can be found.Andres Almiray
05/16/2022, 8:49 AMAndres Almiray
05/16/2022, 8:50 AMVampire
05/16/2022, 8:52 AMSwitching to a detached configuration may be the ticket to fix this issueHaving a named configuration has the advantage, that the user can specify a complete different dependeny, like changed coordinates of Jandex in the future, or an own fork and so on. I think the code quality plugins do it like that. They provide an extension property to configure the version, this version is used for the default dependency of the configuration, but if a user defines own dependencies for that configuration the default dependency is not considered.
Vampire
05/16/2022, 8:52 AMAndres Almiray
05/16/2022, 8:53 AMVampire
05/16/2022, 9:29 AMvisible
for a configuration is extremely misleading.
It is part of the legacy approach to define artifacts.
The assemble
task creates all artifacts that are attached to configurations that are visible
.
So iirc you should practically always have it to false
nowadays.Vampire
05/16/2022, 9:30 AMresolvable
yes, you want to resolve it, so don't forget to it to consumable
false.
The default is true
for both due to backward compatibility but that combination is legacy too.Andres Almiray
05/16/2022, 9:33 AMVampire
05/16/2022, 9:36 AMVampire
05/16/2022, 9:37 AMvisible
is set to.
But I just always set it to false
nowadays unless I have a good reason not to.Andres Almiray
05/16/2022, 9:37 AMVampire
05/16/2022, 9:37 AM