40 lines
1.2 KiB
Groovy
40 lines
1.2 KiB
Groovy
/*
|
|
* This file was generated by the Gradle 'init' task.
|
|
*
|
|
* This generated file contains a sample Java library project to get you started.
|
|
* For more details take a look at the 'Building Java & JVM projects' chapter in the Gradle
|
|
* User Manual available at https://docs.gradle.org/7.5/userguide/building_java_projects.html
|
|
*/
|
|
|
|
plugins {
|
|
// Apply the java-library plugin for API and implementation separation.
|
|
id 'java-library'
|
|
}
|
|
|
|
compileJava.options.encoding = 'UTF-8'
|
|
compileTestJava.options.encoding = 'UTF-8'
|
|
|
|
|
|
repositories {
|
|
// Use Maven Central for resolving dependencies.
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
// Use JUnit Jupiter for testing.
|
|
testImplementation 'org.junit.jupiter:junit-jupiter:5.8.2'
|
|
|
|
implementation("org.openpnp:opencv:3.4.2-0")
|
|
|
|
// This dependency is exported to consumers, that is to say found on their compile classpath.
|
|
//api 'org.apache.commons:commons-math3:3.6.1'
|
|
|
|
// This dependency is used internally, and not exposed to consumers on their own compile classpath.
|
|
//implementation 'com.google.guava:guava:31.0.1-jre'
|
|
}
|
|
|
|
tasks.named('test') {
|
|
// Use JUnit Platform for unit tests.
|
|
useJUnitPlatform()
|
|
}
|