-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
41 lines (30 loc) · 701 Bytes
/
Copy pathbuild.gradle
File metadata and controls
41 lines (30 loc) · 701 Bytes
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
plugins {
id 'java'
}
group 'de.spark61'
version '1.1'
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
dependencies {
//Config & JSON Api
compile 'com.github.Spark61:Config:d30c089c79'
}
jar {
enabled = true
version(project.version)
from {
configurations.runtimeClasspath.findAll { it.name.endsWith('jar') }.collect { zipTree(it) }
}
manifest {
attributes["Implimentation-Title"] = project.name
attributes["Main-Class"] = "Test"
attributes["Implementation-Version"] = version
}
}