#Adding libraries to plugins using Gradle
1 messages · Page 1 of 1 (latest)
you do define it as an implementation dependency
and then also use the shadow plugin to actually shade it
think of it as specifying a dep as compile scope in maven and then also defining the shade plugin
When using the gradle shadow plugin
implementation -> shadowing
compile -> not shadowing
So I just need to add the plugin to my build.gradle and don't do anything else?
[14:58] LynxPlay: and then also use the shadow plugin to actually shade it
also, plugin ?
Gradle plugin
ohhh
I am using gradle
ah. Well you need to then basically run the shadowJar task
or have your build task depend on it
but ye
I add it like this:
plugins {
id 'java'
id "com.github.johnrengelman.shadow" version "7.1.2"
}
Yea
I think it does that by default
it does not