36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
/*
|
|
* 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/8.1.1/userguide/building_java_projects.html
|
|
*/
|
|
|
|
plugins {
|
|
// Apply the java-library plugin for API and implementation separation.
|
|
`java-library`
|
|
}
|
|
|
|
repositories {
|
|
// Use Maven Central for resolving dependencies.
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
// Use JUnit test framework.
|
|
testImplementation("junit:junit:4.13.2")
|
|
|
|
// 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.1-jre")
|
|
}
|
|
|
|
// Apply a specific Java toolchain to ease working on different environments.
|
|
java {
|
|
toolchain {
|
|
languageVersion.set(JavaLanguageVersion.of(17))
|
|
}
|
|
}
|