プロジェクト

全般

プロフィール

« | » 

リビジョン c6ae6fce

高徹 高橋 徹 さんが5年以上前に追加

Modify build settings to use Liberica JDK 14 full and JUnit5 on local

差分を表示:

build.gradle
/*
* 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/6.4/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 a CLI application.
id 'application'
}
java {
modularity.inferModulePath = true
}
repositories {
// Use jcenter for resolving dependencies.
// You can declare any Maven/Ivy/file repository here.
jcenter()
flatDir {
dirs "${project.'library.junit5.dir'}"
}
}
dependencies {
// This dependency is used by the application.
implementation 'com.google.guava:guava:28.2-jre'
// Use JUnit Jupiter API for testing.
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.0'
// Use JUnit Jupiter Engine for testing.
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.6.0'
testImplementation 'org.junit.platform:junit-platform-console-standalone:1.6.2'
}
application {
// Define the main class for the application.
mainClassName = 'com.torutk.spectrum.App'
mainModule = 'com.torutk.spectrum'
mainClass = 'com.torutk.spectrum.view.SpectrumFileViewApp'
}
test {
// Use junit platform for unit tests
useJUnitPlatform()
}

他の形式にエクスポート: Unified diff