change compile to compileOnly (#77)

PiggyPiglet 2020-08-13 18:51:55 +08:00 committed by Luck
parent 8b9892a8da
commit a37407fb20
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

@ -66,12 +66,10 @@ repositories {
} }
dependencies { dependencies {
compile 'net.luckperms:api:5.0' compileOnly 'net.luckperms:api:5.0'
} }
``` ```
> Note: `compile` can be optionally replaced by either `api` or `implementation` on newer Gradle versions to distinguish whether dependant projects should transitively pick up the LuckPerms API dependency.
#### Manual #### Manual
If you want to manually add the API dependency to your classpath, you can obtain the jar by: If you want to manually add the API dependency to your classpath, you can obtain the jar by: