-
Notifications
You must be signed in to change notification settings - Fork 64
/
build.gradle
111 lines (95 loc) · 2.63 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
/*
* This file was generated by the Gradle 'init' task.
*/
plugins {
id 'application'
id 'java'
id 'maven-publish'
id 'org.openjfx.javafxplugin' version '0.0.8'
id 'edu.sc.seis.launch4j' version '2.4.6'
}
apply plugin: 'application'
applicationDefaultJvmArgs = ["--illegal-access=permit"]
dependencies {
implementation 'com.googlecode.json-simple:json-simple:1.1.1'
implementation('com.github.KaptainWutax:BiomeUtils:master-SNAPSHOT')
{
transitive = false;
//changing = true;
}
implementation('com.github.KaptainWutax:FeatureUtils:-SNAPSHOT')
{
transitive = false;
//changing = true;
}
implementation('com.github.KaptainWutax:SeedUtils:master-SNAPSHOT')
{
transitive = false;
//changing = true;
}
implementation('com.github.KaptainWutax:MathUtils:-SNAPSHOT')
{
transitive = false;
//changing = true;
}
implementation('com.github.KaptainWutax:MCUtils:master-SNAPSHOT')
{
transitive = false;
//changing = true;
}
implementation('com.github.KaptainWutax:TerrainUtils:main-SNAPSHOT')
{
transitive = false;
//changing = true;
}
implementation('com.github.KaptainWutax:NoiseUtils:main-SNAPSHOT')
{
transitive = false
//changing = true
}
//compile 'com.jfoenix:jfoenix:9.0.10'
}
group = 'sassa'
version = 'v0.6.3-xaxzie'
sourceCompatibility = '1.8'
String stringVersion = version
javafx {
version = "11.0.2"
modules = ['javafx.controls', 'javafx.fxml', 'javafx.graphics']
}
application {
mainClassName = 'sassa.main.Main'
}
jar {
manifest {
attributes 'Main-Class': 'sassa.main.Main'
}
from {
configurations.runtime.collect { it.isDirectory() ? it : zipTree(it) }
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}
launch4j {
mainClassName = 'sassa.main.Main'
outfile = group + "-" + stringVersion + ".exe"
icon = "${projectDir}/src/main/resources/sassa/sassa.ico"
}
repositories {
mavenLocal()
maven {
url = uri('https://jitpack.io')
}
maven {
url = uri('https://repo.maven.apache.org/maven2')
}
}
task buildAll(type: GradleBuild) {
tasks = ['jar', 'createExe', 'assemble']
}
publishing {
publications {
maven(MavenPublication) {
from(components.java)
}
}
}