Releases: zapzombies/gradle-convention-plugins
Releases · zapzombies/gradle-convention-plugins
Version 1.1.1
Add Javadocs 💯
Quickswitch
Version 1.1.0 bring some new exciting features
New and more quickly switch between remote and local version
Use it by: adding qs()
or qs {}
as a argument after dependency notation
qs.useLocal
use local for all dependenciesqs.useLocal=a,b,c
use local for all dependencies a, b, cqs.localVer=x.y.z-SNAPSHOT
to set a custom local version for all dependenciesqs.localVer.a=x.y.z-SNAPSHOT
to set a custom local version for dependency a, overriding ^qs("name")
to set a new name for dependency so you don't have to use it full name
some examples:
bukkitPlugin("org.junit.jupiter:arena-api:1.0.0", qs())
bukkitPlugin("org.junit.jupiter:arena-api:1.0.0", qs("aa"))
bukkitPlugin("org.junit.jupiter:arena-api:1.0.0", qs {
// Normal grade config
isTransitive = true
})
Command
gradle -Pqs.useLocal=aa,arena-api -Pqs.localVer=0.0.1 build
gradle.properties
qs.useLocal=aa,arena-api
qs.localVer=0.0.1
Subproject dependencies will automatically inherit version from their parent if not specified
Example (Assuming root
is the parent of sub
// root build.gradle.kts
bukkitPlugin("org.junit.jupiter:arena-api:1.0.0", qs())
// sub build.gradle.kts
bukkitPlugin("org.junit.jupiter:arena-api", qs())
Remove older version of bukkitPlugin configuration
Older implementation deletes more than just the jar
v1.0.0
Initial Commit