1.3
This commit is contained in:
parent
7bd4e0f87e
commit
33349bcb71
|
|
@ -0,0 +1,3 @@
|
|||
.gradle
|
||||
.idea
|
||||
build
|
||||
|
|
@ -5,7 +5,7 @@ plugins {
|
|||
}
|
||||
|
||||
group 'io.izzel.taboolib'
|
||||
version '1.2'
|
||||
version '1.3'
|
||||
|
||||
configurations {
|
||||
embed
|
||||
|
|
|
|||
|
|
@ -11,6 +11,8 @@ class TabooLibExtension {
|
|||
|
||||
String classifier = 'all'
|
||||
|
||||
boolean builtin = true
|
||||
|
||||
Map<String, String> relocation = new LinkedHashMap<>()
|
||||
|
||||
def relocate(String pre, String post) {
|
||||
|
|
|
|||
|
|
@ -17,7 +17,9 @@ class TabooLibPlugin implements Plugin<Project> {
|
|||
project.afterEvaluate {
|
||||
project.configurations.compileClasspath.extendsFrom(taboo)
|
||||
project.configurations.compileClasspath.dependencies.add(project.dependencies.create("io.izzel.taboolib:TabooLib:${tabooExt.tabooLibVersion}:all"))
|
||||
if (tabooExt.builtin) {
|
||||
taboo.dependencies.add(project.dependencies.create("io.izzel.taboolib:TabooLibLoader:${tabooExt.loaderVersion}:all"))
|
||||
}
|
||||
|
||||
def shadowPresent = project.plugins.hasPlugin('com.github.johnrengelman.shadow')
|
||||
if (!shadowPresent) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue