-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
51 lines (42 loc) · 1.15 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
plugins {
id 'com.gradleup.shadow' version '8.3.5'
id 'application'
id 'groovy'
id 'java'
}
repositories {
mavenLocal()
mavenCentral()
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
compileJava {
options.release.set(17)
}
test {
useJUnitPlatform()
}
dependencies {
implementation 'io.nextflow:nf-lang:25.02.1-edge'
implementation 'org.apache.groovy:groovy:4.0.26'
implementation 'org.apache.groovy:groovy-json:4.0.26'
implementation 'org.eclipse.lsp4j:org.eclipse.lsp4j:0.23.0'
implementation 'org.eclipse.lsp4j:org.eclipse.lsp4j.jsonrpc:0.23.0'
// runtime dependencies for Nextflow scripts
runtimeOnly 'org.apache.groovy:groovy-templates:4.0.26'
runtimeOnly 'org.yaml:snakeyaml:2.2'
testImplementation ('org.objenesis:objenesis:3.4')
testImplementation ('net.bytebuddy:byte-buddy:1.14.17')
testImplementation ('org.spockframework:spock-core:2.3-groovy-4.0') { exclude group: 'org.apache.groovy' }
}
application {
mainClass = 'nextflow.lsp.NextflowLanguageServer'
}
shadowJar {
archiveVersion = ''
}