Files
2024-05-01 11:46:30 +02:00

44 lines
1.1 KiB
Groovy

plugins {
id 'java'
}
group 'games.rednblack'
repositories {
mavenLocal()
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url 'https://jitpack.io' }
}
dependencies {
implementation "com.badlogicgames.gdx:gdx:$gdxVersion"
implementation "com.kotcrab.vis:vis-ui:$visuiVersion"
implementation "net.onedaybeard.artemis:artemis-odb:$artemisVersion"
implementation "games.rednblack.puremvc:core:$pureMvcVersion"
implementation 'net.mountainblade:modular:1.0'
implementation project(":hyperlap2d-common-api")
implementation project(":hyperlap2d-runtime-libgdx")
implementation "commons-io:commons-io:2.16.1"
testImplementation group: 'junit', name: 'junit', version: '4.12'
}
task dist(type: Jar) {
from files(sourceSets.main.output.classesDirs)
from files(sourceSets.main.output.resourcesDir)
destinationDirectory = file("../build/lib/plugins")
doLast {
def jarToCopy = archiveFileName.get()
copy {
from "../build/lib/plugins/$jarToCopy"
into "../assets/plugins"
}
}
}