Newer
Older
/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Java project to get you started.
* For more details take a look at the Java Quickstart chapter in the Gradle
* User Manual available at https://docs.gradle.org/5.2.1/userguide/tutorial_java_projects.html
*/
plugins {
// Apply the java plugin to add support for Java
id 'java'
// Apply the application plugin to add support for building an application
id 'application'
}
sourceCompatibility = 11
targetCompatibility = 11
repositories {
// Use jcenter for resolving your dependencies.
// You can declare any Maven/Ivy/file repository here.
// jcenter()
mavenCentral()
}
dependencies {
// Use JUnit test framework
testImplementation('org.junit.jupiter:junit-jupiter:5.4.2')
// Logging
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.26'
compile group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3'
// Units
compile group: 'javax.measure', name: 'unit-api', version: '2.0-PRD'
compile group: 'tec.units', name: 'unit-ri', version: '1.0.3'
}
// Define the main class for the application
mainClassName = 'de.tudresden.inf.mci.brailleplot.App'
jar {
manifest {
attributes "Main-Class": "de.tudresden.inf.mci.brailleplot.App"
}
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}
checkstyleTest{
showViolations = true
checkstyleTest.enabled = false
}