リビジョン c6ae6fce
| .idea/compiler.xml | ||
|---|---|---|
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<project version="4">
|
||
|
<component name="CompilerConfiguration">
|
||
|
<bytecodeTargetLevel target="11" />
|
||
|
<bytecodeTargetLevel target="14" />
|
||
|
</component>
|
||
|
</project>
|
||
| .idea/misc.xml | ||
|---|---|---|
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<project version="4">
|
||
|
<component name="ExternalStorageConfigurationManager" enabled="true" />
|
||
|
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="Oracle JDK 11" project-jdk-type="JavaSDK" />
|
||
|
<component name="ProjectRootManager" version="2" languageLevel="JDK_14" default="true" project-jdk-name="Liberica JDK 14 full" project-jdk-type="JavaSDK" />
|
||
|
</project>
|
||
| 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()
|
||
|
}
|
||
Modify build settings to use Liberica JDK 14 full and JUnit5 on local