Skip to content

Commit d529798

Browse files
authored
Merge pull request #44 from JeffersonLab/evio-6-dev
Use newer way of selecting JDK ver
2 parents 93e36f5 + 43ff62f commit d529798

1 file changed

Lines changed: 25 additions & 3 deletions

File tree

build.gradle.kts

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,26 @@
11
/*
22
* This file was generated by the Gradle 'init' task.
33
*
4+
* Copyright (c) 2025. Jefferson Lab (JLab). All rights reserved. Permission
5+
* to use, copy, modify, and distribute this software and its documentation for
6+
* educational, research, and not-for-profit purposes, without fee and without a
7+
* signed licensing agreement.
8+
*
9+
* IN NO EVENT SHALL JLAB BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL
10+
* INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING
11+
* OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF JLAB HAS
12+
* BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
13+
*
14+
* JLAB SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
15+
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
16+
* PURPOSE. THE CLARA SOFTWARE AND ACCOMPANYING DOCUMENTATION, IF ANY,
17+
* PROVIDED HEREUNDER IS PROVIDED "AS IS". JLAB HAS NO OBLIGATION TO PROVIDE
18+
* MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
19+
*
20+
* This software was developed under the United States Government license.
21+
* For more information contact maintainer at jzarling@jlab.org
22+
* Department of Experimental Nuclear Physics, Jefferson Lab.
23+
*
424
* This project uses @Incubating APIs which are subject to change.
525
*/
626

@@ -11,6 +31,11 @@ plugins {
1131
id("com.gradleup.shadow") version "9.2.2"
1232
}
1333

34+
java {
35+
toolchain { languageVersion.set(JavaLanguageVersion.of(17)) }
36+
withJavadocJar()
37+
}
38+
1439
repositories {
1540
mavenLocal()
1641
maven {
@@ -29,9 +54,6 @@ dependencies {
2954
group = "org.jlab.coda"
3055
version = "6.2.0"
3156
description = "Jefferson Lab EVIO Java Library (JEVIO)"
32-
java.sourceCompatibility = JavaVersion.VERSION_17
33-
java.targetCompatibility = JavaVersion.VERSION_17
34-
3557
defaultTasks("build")
3658

3759
publishing {

0 commit comments

Comments
 (0)