Skip to content

Commit 427cfe3

Browse files
committed
Initial Gradle build file.
1 parent 260310c commit 427cfe3

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@
1717
*.iml
1818
*.iws
1919

20-
# Maven
20+
# Gradle
21+
/.gradle
2122
/build/

build.gradle

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
plugins {
2+
id 'css4j.java-conventions'
3+
id 'de.jjohannes.extra-java-module-info'
4+
}
5+
6+
dependencies {
7+
api project(':css4j')
8+
testImplementation project(':xml-dtd')
9+
testImplementation project(path: ':css4j', configuration: 'tests')
10+
testImplementation "nu.validator:htmlparser:${htmlparserVersion}"
11+
testImplementation "org.slf4j:slf4j-api:${slf4jVersion}"
12+
}
13+
14+
extraJavaModuleInfo {
15+
failOnMissingModuleInfo.set(false)
16+
automaticModule("htmlparser-${htmlparserVersion}.jar", 'htmlparser')
17+
}
18+
19+
description = 'css4j-awt'
20+
21+
publishing.publications.maven(MavenPublication).pom {
22+
description = "CSS4J AWT module"
23+
}
24+
25+
java {
26+
withJavadocJar()
27+
}

0 commit comments

Comments
 (0)