-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
23 lines (20 loc) · 866 Bytes
/
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
plugins {
id 'org.springframework.boot' version '3.3.4' // Cambia la versión si es necesario
id 'io.spring.dependency-management' version '1.1.0'
id 'java'
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '17' // Asegúrate de que tu versión de Java sea correcta
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springdoc:springdoc-openapi-ui:1.7.0'
implementation 'org.springdoc:springdoc-openapi-data-rest:1.7.0'
implementation 'org.springdoc:springdoc-openapi-security:1.7.0'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-jdbc' // Esta es la dependencia que necesitas
implementation 'mysql:mysql-connector-java:8.0.33'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}