-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
34 lines (29 loc) · 1.12 KB
/
build.gradle
File metadata and controls
34 lines (29 loc) · 1.12 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
plugins //Plugins for gradle tasks
{
id 'java'
id 'application'
id 'org.springframework.boot' version '3.1.4'
id 'io.spring.dependency-management' version '1.1.3'
}
repositories //For gradle build and dependency refresh
{
mavenCentral()
}
dependencies
{
implementation 'org.springframework.boot:spring-boot-starter-web' //Web app support
implementation 'com.fasterxml.jackson.core:jackson-databind:2.15.2' //Jackson library for lightweight JSON processing
implementation 'org.springframework.boot:spring-boot-starter-data-jpa' //Database interaction support
implementation 'mysql:mysql-connector-java:8.0.33' //MySQL database implementation for data persistence
implementation 'io.github.cdimascio:dotenv-java:3.0.0' //.env support for sensitive variables like database credentials & API key
testImplementation 'org.springframework.boot:spring-boot-starter-test' //Testing framework
}
java
{
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
application //Main project class location
{
mainClass = 'com.sebacape.coinleaf.CoinleafApplication'
}