-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
40 lines (32 loc) · 1.03 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
plugins {
id 'java'
id 'eclipse'
id 'idea'
id 'me.champeau.gradle.jmh' version '0.5.0'
}
// Java compatibility
sourceCompatibility = targetCompatibility = 1.14
// character encoding
tasks.withType(AbstractCompile)*.options*.encoding = "UTF-8"
jmh {
jmhVersion = '1.23'
}
repositories {
mavenCentral()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
}
configurations.all {
// check for updates every build
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}
dependencies {
implementation group: 'net.java.dev.jna', name: 'jna', version: '5.5.0'
implementation group: 'org.bytedeco', name: 'llvm-platform', version: '10.0.1-1.5.4'
// if you need a specific snapshot version
// https://oss.sonatype.org/content/repositories/snapshots/org/bytedeco/llvm/10.0.0-1.5.4-SNAPSHOT/
//implementation group: 'org.bytedeco', name: 'llvm', version: '10.0.0-1.5.4-20200802.084905-331', changing: true
}
wrapper {
gradleVersion = "6.9.2";
distributionUrl = distributionUrl.replace("bin", "all");
}