This repository has been archived by the owner on May 9, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
96 lines (78 loc) · 2.55 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
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
plugins {
id 'org.springframework.boot' version '3.2.1'
id 'io.spring.dependency-management' version '1.1.4'
id 'org.graalvm.buildtools.native' version '0.9.18'
id 'java'
id 'signing'
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
java {
sourceCompatibility = '21'
}
repositories {
//maven { url 'https://repo.spring.io/release' }
mavenCentral()
mavenLocal()
maven {
url "https://oss.sonatype.org/content/repositories/snapshots"
}
}
ext {
set('springShellVersion', "3.1.0")
}
dependencies {
implementation 'org.springframework.shell:spring-shell-starter'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.3.0'
implementation 'org.springframework.boot:spring-boot-starter-logging'
implementation('com.bloxbean.cardano:yaci:0.3.0-beta9-e9eb81d-SNAPSHOT') {
exclude group: 'com.bloxbean.cardano', module: 'cardano-client-core'
}
implementation 'com.bloxbean.cardano:cardano-client-lib:0.5.0'
implementation 'com.bloxbean.cardano:cardano-client-backend:0.5.0'
implementation 'com.bloxbean.cardano:cardano-client-backend-blockfrost:0.5.0'
implementation 'com.bloxbean.cardano:cardano-client-supplier-local:0.5.0'
implementation 'org.jeasy:easy-rules-core:4.1.0'
implementation 'org.jeasy:easy-rules-mvel:4.1.0'
implementation 'org.apache.commons:commons-lang3:3.12.0'
implementation 'commons-io:commons-io:2.11.0'
implementation 'com.google.guava:guava:31.1-jre'
implementation 'org.apache.commons:commons-text:1.9'
implementation 'org.codehaus.janino:janino:3.1.8'
compileOnly 'org.projectlombok:lombok'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
dependencyManagement {
imports {
mavenBom "org.springframework.shell:spring-shell-dependencies:${springShellVersion}"
}
}
tasks.named('test') {
useJUnitPlatform()
}
//springAot {
// removeXmlSupport = false
// removeSpelSupport = false
// removeYamlSupport = false
//}
tasks.register('genClusterTemplatesZip', Zip) {
from sourceSets.main.resources
include 'localcluster/**/*'
archiveFileName.set('localcluster.zip')
destinationDirectory.set(layout.buildDirectory.dir('resources/main'))
}
compileJava {
dependsOn genClusterTemplatesZip
}
ext.isReleaseVersion = !version.endsWith("SNAPSHOT")
if (isReleaseVersion && !project.hasProperty("skipSigning")) {
signing {
sign configurations.archives
}
}