-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathbuild.gradle
More file actions
73 lines (58 loc) · 1.66 KB
/
build.gradle
File metadata and controls
73 lines (58 loc) · 1.66 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
plugins
{
id 'org.springframework.boot' version '3.5.9'
id 'io.spring.dependency-management' version '1.1.7'
id 'java'
id 'eclipse'
id 'idea'
id 'war'
id 'maven-publish'
}
group = 'com.ibm.cicsdev.springboot'
version = '0.1.0'
base
{
archivesName = "cics-java-liberty-springboot-jcics"
}
java
{
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
// If in Eclipse, add Javadoc to the local project classpath
eclipse
{
classpath
{
downloadJavadoc = true
}
}
repositories
{
mavenCentral()
}
dependencies
{
// Spring Boot web starter for building REST/HTTP endpoints
implementation("org.springframework.boot:spring-boot-starter-web")
// Tomcat provided by CICS Liberty at runtime
providedRuntime("org.springframework.boot:spring-boot-starter-tomcat")
// Use correct BOM version for CICS TS (6.1 is the minimum supported release for this sample)
// If you are running on a higher CICS TS version, you may replace this with a newer BOM)
compileOnly(enforcedPlatform("com.ibm.cics:com.ibm.cics.ts.bom:6.1-20250812133513-PH63856"))
// JCICS API (version inherited from BOM)
compileOnly("com.ibm.cics:com.ibm.cics.server")
}
//Don't generate a FAT bootWar, we don't need to run standalone
bootWar { enabled = false }
publishing
{
// Configure the Maven repository to publish to somewhere which is configurable
// with environment variables from outside gradle.
//
// For example:
// gradle build publish \
// -Ppublish_repo_releases_url="file://my-folder" \
// -Ppublish_repo_releases_name="my-maven-repo"
//
}