forked from gudzpoz/luajava
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
91 lines (79 loc) · 2.58 KB
/
Copy pathbuild.gradle
File metadata and controls
91 lines (79 loc) · 2.58 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
plugins {
id 'java'
id 'application'
id 'jacoco'
id 'com.github.johnrengelman.shadow' version '7.1.2'
id 'me.champeau.jmh' version '0.7.2'
}
repositories {
mavenCentral()
maven {
url 'https://jitpack.io'
}
}
ext {
jlineVersion = '3.26.1'
jUnitVersion = '5.10.2'
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(8)
}
}
dependencies {
jmh project(':luajava')
jmh project(':luaj')
jmh project(':lua54')
jmh project(':luajit')
jmh project(path: ':lua54', configuration: 'desktopNatives')
jmh project(path: ':luajit', configuration: 'desktopNatives')
implementation project(':luajava')
implementation project(':lua51')
implementation project(':lua52')
implementation project(':lua53')
implementation project(':lua54')
implementation project(':luajit')
implementation project(':luaj')
implementation 'com.github.wagyourtail.luaj:luaj-core:f062b53a34'
implementation project(':example:suite')
implementation project(path: ':lua51', configuration: 'desktopNatives')
implementation project(path: ':lua52', configuration: 'desktopNatives')
implementation project(path: ':lua53', configuration: 'desktopNatives')
implementation project(path: ':lua54', configuration: 'desktopNatives')
implementation project(path: ':luajit', configuration: 'desktopNatives')
implementation 'info.picocli:picocli:4.7.6'
implementation 'org.antlr:antlr4-runtime:4.13.0'
implementation "org.jline:jline-reader:$jlineVersion"
implementation "org.jline:jline-console:$jlineVersion"
implementation "org.jline:jline-terminal:$jlineVersion"
implementation "org.jline:jline-builtins:$jlineVersion"
implementation "org.jline:jline-terminal-jansi:$jlineVersion"
testImplementation "org.junit.jupiter:junit-jupiter-api:$jUnitVersion"
testImplementation "org.junit.jupiter:junit-jupiter-params:$jUnitVersion"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$jUnitVersion"
}
jmh {
benchmarkMode = ['avgt']
fork = 1
iterations = 3
profilers = ['perfasm']
warmupIterations = 2
timeUnit = 'us'
}
test {
useJUnitPlatform()
javaLauncher.set(javaToolchains.launcherFor {
languageVersion.set(JavaLanguageVersion.of(11))
})
jvmArgs ["--illegal-access=debug"]
jacoco {
destinationFile = project(':').buildDir.toPath().resolve('jacoco/test.exec').toFile()
}
testLogging {
showStackTraces = true
exceptionFormat = 'full'
}
}
application {
mainClass = 'party.iroiro.luajava.Console'
}