mirror of
https://gitlab.com/2009scape/09launcher.git
synced 2025-12-09 16:45:54 -07:00
38 lines
589 B
Groovy
38 lines
589 B
Groovy
plugins {
|
|
id "java"
|
|
id "application"
|
|
}
|
|
|
|
sourceCompatibility = 1.8
|
|
targetCompatibility = 1.8
|
|
|
|
mainClassName = 'rs09.Launcher'
|
|
|
|
|
|
repositories {
|
|
flatDir {
|
|
dirs 'libs'
|
|
}
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
}
|
|
|
|
|
|
jar {
|
|
archiveBaseName = '2009scapeLauncher'
|
|
archiveVersion = '2.1.2'
|
|
manifest {
|
|
attributes 'Main-Class': 'rs09.Launcher',
|
|
'Class-Path': configurations.runtime.files.collect { "lib/$it.name" }.join(' ')
|
|
}
|
|
from('src') {
|
|
include 'data/**'
|
|
}
|
|
}
|
|
|
|
sourceSets {
|
|
main.java.srcDirs = ['src/main/java']
|
|
}
|
|
|