-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
73 lines (59 loc) · 1.43 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
/*
Copyright (c) 2019-2025, C. Amengual.
Licensed under a BSD-style License. You can find the license here:
https://css4j.github.io/LICENSE.txt
*/
// SPDX-License-Identifier: BSD-3-Clause
plugins {
id 'java-library'
}
group = 'io.sf.carte'
description = 'css4j.github.io'
version = '1.1'
sourceSets {
test {
java {
srcDirs = ['src/examples/java']
}
resources {
srcDirs = ['src/examples/resources', 'imag']
includes = ['hdrbg.svg', 'io/sf/**']
}
}
}
dependencies {
testImplementation 'io.sf.jclf:jclf-text:latest.release'
testImplementation 'io.sf.jclf:jclf-linear3:latest.release'
testImplementation 'io.sf.carte:xml-dtd:latest.release'
testImplementation 'io.sf.carte:css4j-dom4j:latest.release'
testImplementation 'io.sf.carte:css4j:latest.release'
testImplementation 'io.sf.carte:echosvg-transcoder:latest.release'
testImplementation 'nu.validator:htmlparser:1.4.16'
testImplementation 'org.junit.jupiter:junit-jupiter:latest.release'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}
repositories {
maven {
url = uri('https://repo.maven.apache.org/maven2/')
}
maven {
url "https://css4j.github.io/maven/"
mavenContent {
releasesOnly()
}
content {
includeGroupByRegex 'io\\.sf\\..*'
includeGroup 'xmlpull'
includeGroup 'xpp3'
}
}
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
}
test {
useJUnitPlatform()
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}