-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathbuild.gradle
49 lines (41 loc) · 1.32 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
buildscript {
repositories {
mavenCentral()
maven { setUrl("https://maven.vaadin.com/vaadin-prereleases") }
maven { url "https://plugins.gradle.org/m2/" }
}
configurations.classpath {
exclude group: 'com.vaadin', module: 'hilla-engine-core'
}
}
plugins {
id 'war'
id 'org.gretty' version '4.1.1'
id 'com.vaadin'
}
defaultTasks("build")
repositories {
mavenCentral()
maven { setUrl("https://maven.vaadin.com/vaadin-prereleases") }
maven { url "https://plugins.gradle.org/m2/" }
}
gretty {
contextPath = "/"
servletContainer = 'jetty11'
}
// 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 enforcedPlatform("com.vaadin:vaadin-bom:$vaadinVersion")
// Vaadin
implementation("com.vaadin:vaadin-core") {
exclude group: 'com.vaadin', module: 'hilla-dev'
}
// logging
// currently we are logging through the SLF4J API to SLF4J-Simple. See src/main/resources/simplelogger.properties file for the logger configuration
implementation "org.slf4j:slf4j-simple:2.0.7"
}