61 lines
1.7 KiB
Groovy
61 lines
1.7 KiB
Groovy
plugins {
|
|
id 'com.github.johnrengelman.shadow' version '7.0.0'
|
|
id 'java'
|
|
id 'idea'
|
|
id 'maven-publish'
|
|
id 'org.jetbrains.kotlin.jvm' version "1.5.31"
|
|
}
|
|
|
|
group 'com.minexd'
|
|
version '1.2'
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
maven { url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' }
|
|
maven { url = 'https://maven.sk89q.com/artifactory/repo' }
|
|
maven { url = 'https://repo.maven.apache.org/maven2' }
|
|
maven { url = 'https://oss.sonatype.org/content/repositories/snapshots' }
|
|
maven { url = "https://repo.glaremasters.me/repository/concuncan/" }
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.10'
|
|
|
|
shadow fileTree(dir: 'lib', include: '*.jar')
|
|
implementation fileTree(dir: 'lib', include: '*.jar')
|
|
|
|
shadow('joda-time:joda-time:2.10.13')
|
|
implementation('joda-time:joda-time:2.10.13')
|
|
|
|
implementation('net.evilblock.cubed:bukkit:1.2')
|
|
implementation('com.minexd.core:bukkit:1.2')
|
|
implementation('com.minexd.rift:bukkit:1.2')
|
|
implementation('com.grinderwolf:slimeworldmanager-api:2.2.1')
|
|
implementation('com.grinderwolf:slimeworldmanager-plugin:2.2.1')
|
|
implementation 'com.minexd:paper:1.8.8'
|
|
}
|
|
|
|
shadowJar {
|
|
archiveClassifier.set('')
|
|
minimize()
|
|
|
|
dependencies {
|
|
include(dependency('joda-time:joda-time'))
|
|
}
|
|
|
|
relocate 'org.joda.time', 'me.senta.time'
|
|
}
|
|
|
|
publishing {
|
|
publications {
|
|
shadow(MavenPublication) { publication ->
|
|
project.shadow.component(publication)
|
|
}
|
|
}
|
|
}
|
|
|
|
tasks.withType(Jar) {
|
|
def home = System.properties['user.home']
|
|
destinationDirectory = file("$home/Desktop/@Nasa/bukkit/lobby")
|
|
} |