-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
45 lines (39 loc) · 1.07 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
// Available commands:
// "gradle grade": run GatorGrader to assess completion of learning objectives
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
mavenLocal()
dependencies {
// other option, only needed for specifying a specific version of the Gradle plugin:
// classpath "gradle.plugin.org.gatored:gatorgradle:0.4.4"
classpath "gradle.plugin.org.gatored:gatorgradle:+"
}
}
}
// apply the version of the gradle plugin
apply plugin: 'java'
apply plugin: 'org.gatored.gatorgradle'
// declare the repositories that are used to meet dependencies
repositories {
mavenLocal()
mavenCentral()
}
// specify the use of the gradle version
wrapper {
gradleVersion = '4.9'
}
// declare values to place in the manifest file in the JAR
jar {
manifest {
attributes(
'Class-Path': configurations.compileClasspath.collect { it.getName() }.join(' '),
'Main-Class': ''
)
}
}
// give the name of the application to run with "gradle run" command
apply plugin: 'application'
mainClassName = ''