Skip to content

Commit

Permalink
Initial Gradle build file.
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosame committed Apr 21, 2021
1 parent 260310c commit 427cfe3
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@
*.iml
*.iws

# Maven
# Gradle
/.gradle
/build/
27 changes: 27 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
plugins {
id 'css4j.java-conventions'
id 'de.jjohannes.extra-java-module-info'
}

dependencies {
api project(':css4j')
testImplementation project(':xml-dtd')
testImplementation project(path: ':css4j', configuration: 'tests')
testImplementation "nu.validator:htmlparser:${htmlparserVersion}"
testImplementation "org.slf4j:slf4j-api:${slf4jVersion}"
}

extraJavaModuleInfo {
failOnMissingModuleInfo.set(false)
automaticModule("htmlparser-${htmlparserVersion}.jar", 'htmlparser')
}

description = 'css4j-awt'

publishing.publications.maven(MavenPublication).pom {
description = "CSS4J AWT module"
}

java {
withJavadocJar()
}

0 comments on commit 427cfe3

Please sign in to comment.