-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
46 lines (38 loc) · 1.04 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
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.5.10'
id 'java'
id 'idea'
id 'org.hidetake.ssh' version '2.10.1'
id "net.ossindex.audit" version "0.4.5-beta"
id "com.github.johnrengelman.shadow" version "4.0.3"
}
version '1.0'
repositories {
maven { url "https://jitpack.io" }
mavenCentral()
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib"
implementation("org.slf4j:slf4j-simple:1.7.25")
implementation("com.github.ev3dev-lang-java:ev3dev-lang-java:2.6.2-SNAPSHOT")
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
}
compileJava.options.encoding = 'UTF-8'
compileJava {
sourceCompatibility = 11
targetCompatibility = 11
}
jar {
baseName = "${rootProject.name}"
manifest {
from file("${projectDir}/src/main/resources/META-INF/MANIFEST.MF")
}
}
task fatJar {
doLast {
}
}
fatJar.dependsOn shadowJar
apply from: './config.gradle'
apply from: './gradle/deploy.gradle'