AnimeGamesLua/build.gradle.kts

64 lines
1.5 KiB
Plaintext

import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
`version-catalog`
id("java")
id("maven-publish")
alias(libs.plugins.kotlin.multiplatform) apply false
}
group = "org.anime_game_servers"
version = libs.versions.anime.game.lua
repositories {
mavenCentral()
}
/*dependencies {
testImplementation(platform("org.junit:junit-bom:5.9.1"))
testImplementation("org.junit.jupiter:junit-jupiter")
implementation(kotlin("stdlib-jdk8"))
}*/
/*tasks.test {
useJUnitPlatform()
}*/
allprojects {
apply(plugin ="maven-publish")
repositories {
mavenLocal()
mavenCentral()
maven {
name = "ags-mvn-Releases"
url = uri("https://mvn.animegameservers.org/releases")
}
}
dependencies {
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
publishing {
repositories {
maven {
name = "agsmvnrelease"
url = uri("https://mvn.animegameservers.org/releases")
credentials(PasswordCredentials::class)
authentication {
create<BasicAuthentication>("basic")
}
}
}
}
}
/*val compileKotlin: KotlinCompile by tasks
compileKotlin.kotlinOptions {
jvmTarget = "1.8"
}
val compileTestKotlin: KotlinCompile by tasks
compileTestKotlin.kotlinOptions {
jvmTarget = "1.8"
}*/