forked from danilZherdev/SignatureWeb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
51 lines (43 loc) · 1.56 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
buildscript {
repositories {
mavenCentral()
maven { setUrl("https://maven.vaadin.com/vaadin-prereleases") }
maven { url "https://plugins.gradle.org/m2/" }
}
}
plugins {
id 'org.springframework.boot' version '3.0.1'
id 'java-library'
id 'io.spring.dependency-management' version '1.0.15.RELEASE'
id 'com.vaadin'
}
defaultTasks("build")
jar {
enabled = false
}
bootJar {
enabled = true
}
repositories {
mavenCentral()
maven { setUrl("https://maven.vaadin.com/vaadin-prereleases") }
maven { url "https://plugins.gradle.org/m2/" }
}
// The following pnpmEnable = false is not needed as npm is used by default,
// this is just an example of how to configure the Gradle Vaadin Plugin:
// for more configuraion options please see: https://vaadin.com/docs/latest/guide/start/gradle/#all-options
vaadin {
pnpmEnable = false
}
dependencies {
implementation("com.vaadin:vaadin-spring-boot-starter:$vaadinVersion")
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-web'
implementation group: 'org.springframework', name: 'spring-webflux'
implementation enforcedPlatform("com.vaadin:vaadin-bom:$vaadinVersion")
// https://mvnrepository.com/artifact/com.vaadin/flow-html-components
implementation group: 'com.vaadin', name: 'flow-html-components', version: '24.0.4'
implementation group: 'org.fusesource.jansi', name: 'jansi', version: '2.4.0'
// Vaadin
implementation("com.vaadin:vaadin-core:$vaadinVersion")
compileOnly group: 'com.vaadin', name: 'flow-server'
}