/* * This file was generated by the Gradle 'init' task. * * This generated file contains a sample Java application 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 application plugin to add support for building a CLI application in Java. id 'application' id 'org.springframework.boot' version '2.7.2' id 'io.spring.dependency-management' version '1.0.12.RELEASE' id 'java' } compileJava.options.encoding = 'UTF-8' compileTestJava.options.encoding = 'UTF-8' repositories { // Use Maven Central for resolving dependencies. mavenCentral() } dependencies { implementation 'org.springframework.boot:spring-boot-starter' testImplementation 'org.springframework.boot:spring-boot-starter-test' testImplementation 'org.junit.jupiter:junit-jupiter:5.8.2' implementation 'commons-io:commons-io:2.6' implementation 'org.apache.commons:commons-math3:3.6.1' implementation 'com.googlecode.json-simple:json-simple:1.1.1' implementation("org.openpnp:opencv:3.4.2-0") implementation project(":mask-color-descriptors") implementation project(":utils") } application { // Define the main class for the application. mainClass = 'org.wheatdb.seedcounter.desktop.DesktopMainWithColorDescriptorsOneThread' } tasks.named('test') { // Use JUnit Platform for unit tests. useJUnitPlatform() }