-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
72 lines (59 loc) · 2.21 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
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
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.7.10'
id 'application'
id 'com.github.johnrengelman.shadow' version '6.1.0'
//id 'com.github.hierynomus.license' version '0.15.0'
}
group 'org.novah'
version '0.4.1'
repositories {
mavenCentral()
}
def kotestVersion = '5.4.2'
def mavenResolverVersion = '1.8.0'
sourceSets.main.java.srcDirs = ['src/main/java', 'src/main/javaLib']
dependencies {
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10'
implementation "org.ow2.asm:asm:9.3"
implementation 'com.github.ajalt.clikt:clikt:3.4.2'
implementation "io.lacuna:bifurcan:0.2.0-alpha6"
implementation "org.reflections:reflections:0.10.2"
implementation "org.eclipse.lsp4j:org.eclipse.lsp4j:0.12.0"
implementation "com.fasterxml.jackson.module:jackson-module-kotlin:2.13.+"
implementation 'org.commonmark:commonmark:0.18.2'
// maven
implementation "org.apache.maven.resolver:maven-resolver-api:$mavenResolverVersion"
implementation "org.apache.maven.resolver:maven-resolver-spi:$mavenResolverVersion"
implementation "org.apache.maven.resolver:maven-resolver-impl:$mavenResolverVersion"
implementation "org.apache.maven.resolver:maven-resolver-connector-basic:$mavenResolverVersion"
implementation "org.apache.maven.resolver:maven-resolver-transport-file:$mavenResolverVersion"
implementation "org.apache.maven.resolver:maven-resolver-transport-http:$mavenResolverVersion"
implementation 'org.apache.maven:maven-core:3.8.5'
implementation 'org.apache.maven:maven-resolver-provider:3.8.5'
implementation "org.slf4j:slf4j-nop:1.7.36"
testImplementation "io.kotest:kotest-runner-junit5-jvm:$kotestVersion"
testImplementation "io.kotest:kotest-assertions-core-jvm:$kotestVersion"
testImplementation "io.kotest:kotest-property-jvm:$kotestVersion"
}
compileKotlin {
kotlinOptions.jvmTarget = "17"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "17"
}
application {
mainClass.set("novah.main.Main")
}
shadowJar {
mainClassName = "novah.main.Main"
}
test {
useJUnitPlatform()
}
//license {
// header = file('HEADER')
//
// exclude "**/*.txt"
// exclude "**/gradlew"
// exclude "src/test/**/*.novah"
//}