Styling: added simple unit tests

This commit is contained in:
Karl Tauber
2021-06-16 21:23:57 +02:00
parent e0bc93371e
commit 7eb642dd13
2 changed files with 100 additions and 0 deletions

View File

@@ -21,6 +21,11 @@ plugins {
`flatlaf-publish`
}
dependencies {
testImplementation( "org.junit.jupiter:junit-jupiter-api:5.7.2" )
testRuntimeOnly( "org.junit.jupiter:junit-jupiter-engine" )
}
java {
withSourcesJar()
withJavadocJar()
@@ -52,6 +57,10 @@ tasks {
named<Jar>( "javadocJar" ) {
archiveBaseName.set( "flatlaf" )
}
test {
useJUnitPlatform()
}
}
flatlafPublish {