-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
50 lines (40 loc) · 1.18 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
wrapper {
gradleVersion = '7.6.1'
}
apply plugin: 'java'
apply plugin: 'eclipse'
group = pGroup
version = pVersion
if (project.hasProperty("topobyte")) {
apply from: 'file:///' + System.getProperty("user.home") \
+ '/.gradle/topobyte.gradle'
}
repositories {
maven {
url 'https://mvn.topobyte.de'
}
mavenCentral()
}
dependencies {
implementation 'de.topobyte:melon-paths:0.0.2'
implementation 'com.vladsch.flexmark:flexmark:0.22.20'
implementation 'com.vladsch.flexmark:flexmark-ext-tables:0.22.20'
implementation 'com.vladsch.flexmark:flexmark-ext-gfm-strikethrough:0.22.20'
implementation 'org.jsoup:jsoup:1.8.3'
implementation 'commons-io:commons-io:2.4'
runtimeOnly 'org.slf4j:slf4j-log4j12:1.6.1'
runtimeOnly 'log4j:log4j:1.2.16'
testRuntimeOnly 'org.slf4j:slf4j-log4j12:1.6.1'
testRuntimeOnly 'log4j:log4j:1.2.16'
}
task copyJars(type: Copy) {
into "$buildDir/lib-run"
from jar
}
task copyDeps(type: Copy) {
into "$buildDir/lib-run"
from configurations.runtimeClasspath
}
task createRuntime(dependsOn: [copyJars, copyDeps]) {
description 'Setup the execution environment for the main scripts'
}