2024-05-12 14:59:29 -04:00
|
|
|
plugins {
|
2024-05-26 18:35:39 -04:00
|
|
|
kotlin("jvm") version "2.0.0"
|
2024-05-12 14:59:29 -04:00
|
|
|
`java-gradle-plugin`
|
|
|
|
`maven-publish`
|
|
|
|
}
|
|
|
|
|
2024-06-02 17:13:58 -04:00
|
|
|
group = "dev.frogmc"
|
2024-06-02 10:33:50 -04:00
|
|
|
version = "0.0.1-SNAPSHOT"
|
2024-05-12 14:59:29 -04:00
|
|
|
|
|
|
|
repositories {
|
2024-05-13 10:32:57 -04:00
|
|
|
maven {
|
2024-06-02 10:19:16 -04:00
|
|
|
name = "FrogMC Maven Releases"
|
2024-06-02 17:13:58 -04:00
|
|
|
url = uri("https://maven.frogmc.dev/releases")
|
2024-05-13 10:32:57 -04:00
|
|
|
}
|
|
|
|
maven {
|
2024-06-02 10:19:16 -04:00
|
|
|
name = "FrogMC Maven Snapshots"
|
2024-06-02 17:13:58 -04:00
|
|
|
url = uri("https://maven.frogmc.dev/snapshots")
|
2024-05-13 10:32:57 -04:00
|
|
|
}
|
|
|
|
|
2024-05-12 14:59:29 -04:00
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2024-06-07 14:40:44 -04:00
|
|
|
implementation("dev.frogmc:thyroxine:1.0.0-SNAPSHOT")
|
2024-05-27 11:10:30 -04:00
|
|
|
implementation("org.ow2.asm:asm:9.7")
|
2024-05-12 14:59:29 -04:00
|
|
|
implementation("com.google.code.gson:gson:2.10.1")
|
2024-05-13 10:32:57 -04:00
|
|
|
implementation("org.vineflower:vineflower:1.10.1")
|
2024-05-12 14:59:29 -04:00
|
|
|
testImplementation(kotlin("test"))
|
2024-05-28 08:15:21 -04:00
|
|
|
implementation("com.electronwill.night-config:toml:3.7.2")
|
2024-05-26 18:35:39 -04:00
|
|
|
implementation("com.google.jimfs:jimfs:1.3.0")
|
2024-05-12 14:59:29 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
gradlePlugin {
|
|
|
|
plugins {
|
2024-05-27 11:10:30 -04:00
|
|
|
create("phytotelma") {
|
2024-06-02 17:13:58 -04:00
|
|
|
id = "dev.frogmc.phytotelma"
|
|
|
|
implementationClass = "dev.frogmc.phytotelma.PhytotelmaPlugin"
|
2024-05-12 14:59:29 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-05-27 06:10:43 -04:00
|
|
|
tasks.jar {
|
|
|
|
manifest {
|
|
|
|
attributes["Implementation-Version"] = version
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-05-12 14:59:29 -04:00
|
|
|
tasks.test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|
|
|
|
kotlin {
|
2024-05-13 07:21:37 -04:00
|
|
|
jvmToolchain(21)
|
2024-05-12 14:59:29 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
publishing {
|
|
|
|
publications {
|
2024-05-13 05:27:31 -04:00
|
|
|
|
2024-05-13 10:32:57 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
maven {
|
2024-06-02 10:19:16 -04:00
|
|
|
name = "FrogMCSnapshotsMaven"
|
2024-06-02 17:13:58 -04:00
|
|
|
url = uri("https://maven.frogmc.dev/snapshots")
|
2024-05-13 10:32:57 -04:00
|
|
|
credentials(PasswordCredentials::class)
|
|
|
|
authentication {
|
|
|
|
create<BasicAuthentication>("basic")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
maven {
|
2024-06-02 10:19:16 -04:00
|
|
|
name = "FrogMCReleasesMaven"
|
2024-06-02 17:13:58 -04:00
|
|
|
url = uri("https://maven.frogmc.dev/releases")
|
2024-05-13 10:32:57 -04:00
|
|
|
credentials(PasswordCredentials::class)
|
|
|
|
authentication {
|
|
|
|
create<BasicAuthentication>("basic")
|
2024-05-12 14:59:29 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|