-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
35 lines (28 loc) · 1.05 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
apply plugin: 'java'
project.ext.mainClassName = "schematichandler.SchematicHandler"
sourceCompatibility = 14
targetCompatibility = 14
version = '1.0'
sourceSets.main.java.srcDirs = ["src/"]
sourceSets.main.resources.srcDirs = ["assets/"]
allprojects {
repositories {
maven { url "https://oss.sonatype.org/content/repositories/releases/" }
maven { url "https://jitpack.io" }
}
}
task dist(type: Jar) {
from files(sourceSets.main.output.classesDirs)
from files(sourceSets.main.output.resourcesDir)
from { configurations.runtimeClasspath.collect{ it.isDirectory() || !it.name.endsWithAny(".zip", ".jar") ? it : zipTree(it) }}
archiveFileName = "previewer.jar"
manifest {
attributes 'Main-Class': project.mainClassName
}
}
dependencies {
implementation "com.github.Anuken.Arc:arc-core:master-SNAPSHOT"
implementation "com.github.Anuken.MindustryJitpack:core:main-SNAPSHOT"
implementation "com.google.code.gson:gson:2.9.0"
implementation group: "com.jidesoft", name: "jide-oss", version: "3.6.11"
}