Files
HyperLap2D/plugin-9patch/build.gradle
T

39 lines
982 B
Groovy

plugins {
id 'java'
}
group 'games.rednblack'
version '0.0.7'
repositories {
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
}
dependencies {
implementation "com.badlogicgames.gdx:gdx:$gdxVersion"
implementation "com.badlogicgames.ashley:ashley:$ashleyVersion"
implementation "com.kotcrab.vis:vis-ui:$visuiVersion"
implementation 'net.mountainblade:modular:1.0'
implementation project(":hyperlap2d-common-api")
implementation project(":hyperlap2d-runtime-libgdx")
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"
}
}
}