mirror of
https://github.com/array-in-a-matrix/brainwine.git
synced 2025-04-02 11:11:58 -04:00
33 lines
761 B
Groovy
33 lines
761 B
Groovy
plugins {
|
|
id 'brainwine.distribution'
|
|
}
|
|
|
|
ext {
|
|
mainClass = 'brainwine.Main'
|
|
workingDirectory = 'run'
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'com.formdev:flatlaf-intellij-themes:3.0'
|
|
implementation 'com.formdev:flatlaf-extras:3.0'
|
|
implementation 'com.formdev:flatlaf:3.0'
|
|
implementation project(':brainwine-api')
|
|
implementation project(':brainwine-gameserver')
|
|
implementation project(':brainwine-shared')
|
|
}
|
|
|
|
dist {
|
|
mainClass = project.ext.mainClass
|
|
licenseFile = file("${project.rootDir}/LICENSE.md")
|
|
}
|
|
|
|
task run(type: JavaExec) {
|
|
mainClass = project.ext.mainClass
|
|
workingDir = project.ext.workingDirectory
|
|
classpath = sourceSets.main.runtimeClasspath
|
|
mkdir workingDir
|
|
}
|