AxMinions/build.gradle

84 lines
1.9 KiB
Groovy
Raw Normal View History

2023-10-01 18:46:23 +02:00
plugins {
id 'java-library'
id 'com.github.johnrengelman.shadow' version "8.1.1"
id 'maven-publish'
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.9.0'
}
group = 'com.artillexstudios.axminions'
version = '1.0-SNAPSHOT'
repositories {
mavenCentral()
maven {
url = uri('https://jitpack.io/')
}
}
dependencies {
implementation project(path: ":api")
2023-10-04 20:30:39 +02:00
implementation project(path: ":common")
2023-10-01 18:46:23 +02:00
}
allprojects {
apply plugin: 'org.jetbrains.kotlin.jvm'
apply plugin: 'java'
apply plugin: 'java-library'
apply plugin: 'com.github.johnrengelman.shadow'
kotlin {
jvmToolchain(17)
}
2023-10-05 19:15:36 +02:00
compileKotlin {
kotlinOptions {
javaParameters = true
}
}
2023-10-01 18:46:23 +02:00
repositories {
mavenCentral()
mavenLocal()
maven {
url = uri('https://hub.spigotmc.org/nexus/content/repositories/snapshots/')
}
maven {
url = uri('https://repo.rosewooddev.io/repository/public/' )
}
maven {
url = uri('https://repo.bg-software.com/repository/api/' )
}
maven {
url = uri('https://jitpack.io/')
}
maven {
url = uri('https://repo.alessiodp.com/releases/')
}
}
dependencies {
compileOnly 'org.spigotmc:spigot-api:1.20.1-R0.1-SNAPSHOT'
compileOnly 'dev.rosewood:rosestacker:1.5.11'
compileOnly 'com.bgsoftware:WildStackerAPI:2023.2'
compileOnly 'com.github.MilkBowl:VaultAPI:1.7'
compileOnly 'com.github.brcdev-minecraft:shopgui-api:3.0.0'
compileOnly 'org.jetbrains.kotlin:kotlin-stdlib:1.9.0'
2023-10-04 20:30:39 +02:00
compileOnly 'com.h2database:h2:2.2.220'
2023-10-01 18:46:23 +02:00
implementation files('../libs/AxAPI-1.0-SNAPSHOT.jar')
}
shadowJar {
relocate("com.artillexstudios.axapi", "com.artillexstudios.axminions.libs.axapi")
}
}
kotlin {
jvmToolchain(17)
}