-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
64 lines (45 loc) · 756 Bytes
/
build.gradle
File metadata and controls
64 lines (45 loc) · 756 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
plugins {
id 'java'
id 'maven-publish'
}
defaultTasks 'build'
group 'protocolsupport'
version '1.0'
import java.nio.file.Path
import java.nio.file.Paths
import java.nio.file.Files
Path projectDirectoryPath = projectDir.toPath().toAbsolutePath()
sourceCompatibility = JavaVersion.VERSION_1_8
sourceSets {
main {
java {
srcDirs = ['src']
}
resources {
srcDirs = ['resources']
}
}
}
repositories {
}
dependencies {
}
compileJava {
options.encoding = 'UTF-8'
options.incremental = false
}
jar {
from sourceSets.main.java.srcDirs
from 'LICENSE'
}
tasks.withType(GenerateModuleMetadata) {
enabled = false
}
publishing {
publications {
release(MavenPublication) {
from components.java
artifacts = [jar]
}
}
}