This repository has been archived by the owner on Apr 13, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathbuild.gradle
59 lines (52 loc) · 2.13 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
52
53
54
55
56
57
58
59
plugins {
id 'idea'
id 'de.fuerstenau.buildconfig' version '1.1.8'
id 'com.github.johnrengelman.shadow' version '5.2.0'
id 'java'
}
group = 'fr.skyost'
version = '0.7.4'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
jcenter()
}
dependencies {
implementation group: 'com.atlassian.commonmark', name: 'commonmark', version:'0.13.1'
implementation group: 'com.atlassian.commonmark', name: 'commonmark-ext-autolink', version:'0.13.1'
implementation group: 'com.atlassian.commonmark', name: 'commonmark-ext-gfm-strikethrough', version:'0.13.1'
implementation group: 'com.atlassian.commonmark', name: 'commonmark-ext-gfm-tables', version:'0.13.1'
implementation group: 'com.atlassian.commonmark', name: 'commonmark-ext-heading-anchor', version:'0.13.1'
implementation group: 'org.slf4j', name: 'slf4j-nop', version: '2.0.0-alpha1'
implementation group: 'org.yaml', name: 'snakeyaml', version:'1.25'
implementation group: 'org.jtwig', name: 'jtwig-core', version:'5.87.0.RELEASE'
implementation group: 'org.nanohttpd', name: 'nanohttpd', version:'2.3.1'
implementation group: 'com.eclipsesource.minimal-json', name: 'minimal-json', version:'0.9.5'
implementation group: 'io.methvin', name: 'directory-watcher', version: '0.9.6'
implementation group: 'com.yahoo.platform.yui', name: 'yuicompressor', version:'2.4.8'
implementation group: 'com.github.hazendaz', name: 'htmlcompressor', version:'1.6.5'
implementation group: 'de.inetsoftware', name: 'jlessc', version:'1.8'
implementation group: 'com.beust', name: 'jcommander', version:'1.78'
}
shadowJar {
destinationDir = new File(rootProject.projectDir, 'build/release/')
mergeServiceFiles()
from('src/main/resources') {
into('main/resources')
}
manifest {
attributes 'Main-Class': 'fr.skyost.skydocs.SkyDocs'
}
}
task circleSnapshot(dependsOn: shadowJar) {
doLast {
shadowJar.archivePath.renameTo(new File(shadowJar.destinationDir, 'SkyDocs-SNAPSHOT.jar'))
}
}
processResources {
exclude '**/*'
}
buildConfig {
packageName = project.group
}