Skip to content

Commit 0735fcd

Browse files
committed
Added Spring boot event
1 parent 05ce625 commit 0735fcd

File tree

16 files changed

+531
-0
lines changed

16 files changed

+531
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project version="4">
3+
<component name="PersistenceUnitSettings">
4+
<persistence-units>
5+
<persistence-unit name="Default">
6+
<packages>
7+
<package value="com.stacktips" />
8+
</packages>
9+
</persistence-unit>
10+
</persistence-units>
11+
</component>
12+
</project>

c002-run-on-startup/.gitignore

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
HELP.md
2+
.gradle
3+
build/
4+
!gradle/wrapper/gradle-wrapper.jar
5+
!**/src/main/**/build/
6+
!**/src/test/**/build/
7+
8+
### STS ###
9+
.apt_generated
10+
.classpath
11+
.factorypath
12+
.project
13+
.settings
14+
.springBeans
15+
.sts4-cache
16+
bin/
17+
!**/src/main/**/bin/
18+
!**/src/test/**/bin/
19+
20+
### IntelliJ IDEA ###
21+
.idea
22+
*.iws
23+
*.iml
24+
*.ipr
25+
out/
26+
!**/src/main/**/out/
27+
!**/src/test/**/out/
28+
29+
### NetBeans ###
30+
/nbproject/private/
31+
/nbbuild/
32+
/dist/
33+
/nbdist/
34+
/.nb-gradle/
35+
36+
### VS Code ###
37+
.vscode/
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project version="4">
3+
<component name="PersistenceUnitSettings">
4+
<persistence-units>
5+
<persistence-unit name="Default">
6+
<packages>
7+
<package value="com.stacktips" />
8+
</packages>
9+
</persistence-unit>
10+
</persistence-units>
11+
</component>
12+
</project>

c002-run-on-startup/build.gradle

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
plugins {
2+
id 'org.springframework.boot' version '2.6.10'
3+
id 'io.spring.dependency-management' version '1.0.12.RELEASE'
4+
id 'java'
5+
}
6+
7+
group = 'com.stacktips'
8+
version = '0.0.1-SNAPSHOT'
9+
sourceCompatibility = '11'
10+
11+
configurations {
12+
compileOnly {
13+
extendsFrom annotationProcessor
14+
}
15+
}
16+
17+
repositories {
18+
mavenCentral()
19+
}
20+
21+
dependencies {
22+
implementation 'org.springframework.boot:spring-boot-starter-web'
23+
compileOnly 'org.projectlombok:lombok'
24+
annotationProcessor 'org.projectlombok:lombok'
25+
testImplementation 'org.springframework.boot:spring-boot-starter-test'
26+
}
27+
28+
tasks.named('test') {
29+
useJUnitPlatform()
30+
}
59.3 KB
Binary file not shown.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists

c002-run-on-startup/gradlew

Lines changed: 240 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)