/* * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /* * 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.1/userguide/building_java_projects.html * This project uses @Incubating APIs which are subject to change. */ plugins { // Apply the java-library plugin for API and implementation separation. `java-library` kotlin("jvm") version "1.8.0" } repositories { // Use Maven Central for resolving dependencies. mavenCentral() } dependencies { // 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") implementation("com.google.code.findbugs:jsr305:3.0.2") implementation(kotlin("stdlib")) testImplementation("org.junit.jupiter:junit-jupiter:5.9.2") } kotlin { jvmToolchain(17) } tasks.test { useJUnitPlatform() jvmArgs = mutableListOf("-Djava.library.path=../../../../target/debug") }