-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
92 lines (82 loc) · 2.81 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
buildscript {
ext {
protobufVersion = '3.23.4'
protobufPluginVersion = '0.8.18'
grpcVersion = '1.58.0'
}
}
plugins {
id 'io.jmix' version '2.2.1.1'
id 'com.google.protobuf' version "${protobufPluginVersion}"
id 'java'
}
apply plugin: 'org.springframework.boot'
apply plugin: 'com.vaadin'
jmix {
bomVersion = '2.2.1'
}
group = 'com.rashlight'
version = '1.0.0-rc3'
repositories {
mavenCentral()
maven {
url 'https://global.repo.jmix.io/repository/public'
}
}
protobuf {
protoc {
artifact = "com.google.protobuf:protoc:${protobufVersion}"
}
generatedFilesBaseDir = "$projectDir/src/generated"
clean {
delete generatedFilesBaseDir
}
plugins {
grpc {
artifact = "io.grpc:protoc-gen-grpc-java:${grpcVersion}"
}
}
generateProtoTasks {
all()*.plugins {
grpc {}
}
}
}
dependencies {
implementation 'io.jmix.core:jmix-core-starter'
implementation 'io.jmix.data:jmix-eclipselink-starter'
implementation 'io.jmix.security:jmix-security-starter'
implementation 'io.jmix.security:jmix-security-flowui-starter'
implementation 'io.jmix.security:jmix-security-data-starter'
implementation 'io.jmix.localfs:jmix-localfs-starter'
implementation 'io.jmix.flowui:jmix-flowui-starter'
implementation 'io.jmix.flowui:jmix-flowui-data-starter'
implementation 'io.jmix.flowui:jmix-flowui-themes'
implementation 'io.jmix.datatools:jmix-datatools-starter'
implementation 'io.jmix.datatools:jmix-datatools-flowui-starter'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-actuator-autoconfigure'
// implementation 'org.springframework.boot:spring-boot-starter-oauth2-resource-server'
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
testImplementation 'io.jmix.flowui:jmix-flowui-test-assist'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.2'
implementation 'io.jmix.charts:jmix-charts-flowui-starter'
runtimeOnly 'io.grpc:grpc-netty-shaded:1.49.2'
implementation "io.grpc:grpc-api:${grpcVersion}"
implementation "io.grpc:grpc-protobuf:${grpcVersion}"
implementation "io.grpc:grpc-stub:${grpcVersion}"
implementation 'net.devh:grpc-spring-boot-starter:3.0.0.RELEASE'
implementation 'javax.annotation:javax.annotation-api:1.3.2'
implementation 'io.jmix.reports:jmix-reports-flowui-starter'
implementation 'io.jmix.reports:jmix-reports-rest-starter'
implementation 'io.jmix.reports:jmix-reports-starter'
implementation 'org.postgresql:postgresql'
}
test {
useJUnitPlatform()
}
vaadin {
optimizeBundle = false
}