-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
62 lines (55 loc) · 1.47 KB
/
build.gradle
File metadata and controls
62 lines (55 loc) · 1.47 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
buildscript {
repositories {
mavenLocal()
mavenCentral()
maven { setUrl("https://maven.vaadin.com/vaadin-prereleases") }
}
dependencies {
classpath("dev.hilla:hilla-gradle-plugin:$hillaVersion")
}
}
plugins {
id 'org.springframework.boot' version '3.0.2'
id 'io.spring.dependency-management' version '1.0.15.RELEASE'
id 'java'
//id 'dev.hilla'
}
apply plugin: 'dev.hilla.engine'
// uncomment the following if you want to build/run in production mode:
/*
vaadin {
productionMode = true
}
*/
hilla {
exposedPackagesToParser = ["com.example.application", "dev.hilla.foobar"]
}
repositories {
mavenLocal()
mavenCentral()
maven { setUrl("https://maven.vaadin.com/vaadin-prereleases") }
maven { setUrl("https://maven.vaadin.com/vaadin-addons") }
}
configurations {
developmentOnly
runtimeClasspath {
extendsFrom developmentOnly
}
}
dependencies {
implementation 'dev.hilla:hilla-react'
implementation 'dev.hilla:hilla-spring-boot-starter'
implementation 'org.parttio:line-awesome:1.1.0'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
runtimeOnly 'com.h2database:h2'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
}
dependencyManagement {
imports {
mavenBom "dev.hilla:hilla-bom:$hillaVersion"
}
}