diff --git a/build.gradle.kts b/build.gradle.kts index 86528769..c158dcbc 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,6 +1,26 @@ /* * This file was generated by the Gradle 'init' task. * + * Copyright (c) 2025. Jefferson Lab (JLab). All rights reserved. Permission + * to use, copy, modify, and distribute this software and its documentation for + * educational, research, and not-for-profit purposes, without fee and without a + * signed licensing agreement. + * + * IN NO EVENT SHALL JLAB BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL + * INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING + * OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF JLAB HAS + * BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * JLAB SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, + * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE. THE CLARA SOFTWARE AND ACCOMPANYING DOCUMENTATION, IF ANY, + * PROVIDED HEREUNDER IS PROVIDED "AS IS". JLAB HAS NO OBLIGATION TO PROVIDE + * MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + * This software was developed under the United States Government license. + * For more information contact maintainer at jzarling@jlab.org + * Department of Experimental Nuclear Physics, Jefferson Lab. + * * This project uses @Incubating APIs which are subject to change. */ @@ -11,6 +31,11 @@ plugins { id("com.gradleup.shadow") version "9.2.2" } +java { + toolchain { languageVersion.set(JavaLanguageVersion.of(17)) } + withJavadocJar() +} + repositories { mavenLocal() maven { @@ -29,9 +54,6 @@ dependencies { group = "org.jlab.coda" version = "6.2.0" description = "Jefferson Lab EVIO Java Library (JEVIO)" -java.sourceCompatibility = JavaVersion.VERSION_17 -java.targetCompatibility = JavaVersion.VERSION_17 - defaultTasks("build") publishing {