-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbuild.gradle
More file actions
67 lines (56 loc) · 1.73 KB
/
Copy pathbuild.gradle
File metadata and controls
67 lines (56 loc) · 1.73 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
buildscript {
ext.kotlin_version = '1.9.25'
}
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.9.25'
}
group 'CTagger'
version '4.0.0'
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
repositories {
mavenCentral()
}
sourceSets {
main {
java.srcDirs("src/main/java", "src/main/kotlin")
}
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.1'
implementation 'com.google.code.gson:gson:2.10.1'
implementation group: 'com.univocity', name: 'univocity-parsers', version: '2.9.0'
implementation group: 'javax.xml.bind', name: 'jaxb-api', version: '2.3.1'
implementation group: 'org.glassfish.jaxb', name: 'jaxb-runtime', version: '2.3.1'
implementation 'com.github.kittinunf.fuel:fuel:2.3.0'
implementation 'org.jsoup:jsoup:1.17.2'
testImplementation group: 'junit', name: 'junit', version: '4.13.2'
}
jar {
archiveFileName = 'CTagger.jar'
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
manifest {
attributes(
"Main-Class": "Main",
"Implementation-Title": "CTagger",
"Implementation-Version": project.version,
"Implementation-Vendor": "HED Standard",
"Built-By": System.getProperty("user.name"),
"Built-JDK": System.getProperty("java.version"),
"Created-By": "Gradle ${gradle.gradleVersion}"
)
}
from {
configurations.compileClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}