-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
44 lines (38 loc) · 1.03 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*******************************************************************************
* Licensed Materials - Property of IBM
* (C) Copyright IBM Corporation 2024. All Rights Reserved.
*
* Note to U.S. Government Users Restricted Rights:
* Use, duplication or disclosure restricted by GSA ADP Schedule
* Contract with IBM Corp.
*******************************************************************************/
plugins {
id 'application'
}
repositories {
mavenCentral()
}
dependencies {
compileOnly 'com.ibm.jzos:ibm.jzos:3.1.3.1'
testImplementation 'org.junit.jupiter:junit-jupiter:5.9.1'
}
java {
sourceCompatibility = 11
targetCompatibility = 11
}
tasks.withType(JavaCompile) {
options.warnings = false
}
application {
}
version = '1.0-SNAPSHOT'
tasks.named('jar') {
manifest {
attributes('Implementation-Title': project.name,
'Implementation-Version': project.version,
'Main-Class': 'com.ibm.jzos.sample.PdsLister')
}
}
tasks.named('test') {
useJUnitPlatform()
}