-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
51 lines (39 loc) · 1.46 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.github.johnrengelman.shadow' version '7.1.0'
id 'java'
}
group 'net.programmer.igoodie'
version '0.0.1'
def env = System.getenv("ENV") ?: "development"
env = "development"
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'org.jetbrains:annotations:22.0.0'
// LSP4J - Language Server Framework
implementation group: 'org.eclipse.lsp4j', name: 'org.eclipse.lsp4j', version: '0.12.0'
// RuntimeGoodies
implementation env.equalsIgnoreCase("production")
? "com.github.iGoodie:RuntimeGoodies:1.0.0"
: project(":x-runtime-goodies")
// TheSpawnLanguage (TSL)
implementation env.equalsIgnoreCase("production")
? "com.github.TheSpawnProject:The-Spawn-Language:c8d9e2a321"
: project(":x-tsl")
// https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-engine
testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.7.0'
// https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.7.0'
// https://mvnrepository.com/artifact/com.google.guava/guava
testImplementation group: 'com.google.guava', name: 'guava', version: '30.1-jre'
}
test {
useJUnitPlatform()
}
shadowJar {
archiveBaseName.set('ls-launcher')
archiveClassifier.set('')
archiveVersion.set('')
}