-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
79 lines (65 loc) · 2.61 KB
/
build.gradle
File metadata and controls
79 lines (65 loc) · 2.61 KB
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
//What is this? This is your build.gradle!
//This is a useful file which will help you manage running and building your application
/*Rather than run the app straight through Intelli J, you will always want to be looking
* for the Gradle Tab on the right hand side of the IDE. This will allow you
* to run Gradle Tasks, rather than just IntelliJ functions. It may seem complicated now,
* but this will save you a lot of headaches as your app gains dependencies and needs to
* be built in more complicated ways.
*/
plugins {
id 'application'
id 'java'
id "com.github.johnrengelman.shadow" version "6.1.0"
}
mainClassName = 'edu.wpi.teamname.Main'
//These are the repositories where Gradle looks for dependencies.
// You likely won't have to change these unless you add a cool, new dependency that isn't listed on Maven
repositories {
mavenCentral()
jcenter()
maven {
url 'https://apisite.crmyers.dev/maven'
}
}
//This is where you declare your dependencies and their version.s
//You will almost DEFINITELY add more here
dependencies {
implementation(
'com.jfoenix:jfoenix:8.0.10',
'de.jensd:fontawesomefx:8.9',
'org.apache.commons:com.springsource.org.apache.commons.validator:1.3.1',
// You may comment out the database dependency you do not use
'org.xerial:sqlite-jdbc:3.30.1',
'org.apache.derby:derby:10.14.2.0',
'org.slf4j:slf4j-api:1.7.30',
'org.slf4j:slf4j-simple:1.7.30',
'com.google.firebase:firebase-admin:7.1.1', // Firebase admin sdk
'org.json:json:20160810',
'org.java-websocket:Java-WebSocket:1.5.1',
'me.xdrop:fuzzywuzzy:1.3.1',
'com.google.maps:google-maps-services:0.18.0',
'org.slf4j:slf4j-simple:1.7.25',
'org.ocpsoft.prettytime:prettytime:5.0.1.Final',
)
implementation 'junit:junit:4.12'
//These are test dependencies. These are only used for running verification tasks via Gradle.
testCompile(
"org.testfx:testfx-core:4.0.16-alpha",
'org.junit.jupiter:junit-jupiter:5.6.0',
'org.testfx:testfx-junit5:4.0.16-alpha',
)
}
//This tells your verification Tasks to use JUnit. You shouldn't need to change this
test {
useJUnitPlatform()
}
//this is where you describe your jar. It's important that the Main-Class always points to the class
// with the Main method you want run!
jar {
manifest {
attributes 'Main-Class': 'edu.wpi.teamname.Main'
}
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}