|
| 1 | +plugins { |
| 2 | + id("org.springframework.boot") version "2.7.4" |
| 3 | + id("io.spring.dependency-management") version "1.1.6" |
| 4 | + kotlin("jvm") version "1.9.24" apply false // remove if not using Kotlin code |
| 5 | + id("java") |
| 6 | +} |
| 7 | + |
| 8 | +group = "com.razdeep" |
| 9 | +version = "0.0.1-SNAPSHOT" |
| 10 | +description = "konsign-api" |
| 11 | + |
| 12 | +java { |
| 13 | + toolchain { |
| 14 | + languageVersion.set(JavaLanguageVersion.of(17)) |
| 15 | + } |
| 16 | +} |
| 17 | + |
| 18 | +repositories { |
| 19 | + mavenCentral() |
| 20 | +} |
| 21 | + |
| 22 | +dependencies { |
| 23 | + implementation("org.springframework.boot:spring-boot-starter-web") |
| 24 | + implementation("org.springframework.boot:spring-boot-starter-security") |
| 25 | + implementation("io.jsonwebtoken:jjwt:0.9.1") |
| 26 | + implementation("javax.xml.bind:jaxb-api:2.4.0-b180830.0359") |
| 27 | + implementation("org.springframework.boot:spring-boot-starter-data-jpa") |
| 28 | + implementation("mysql:mysql-connector-java:8.0.30") |
| 29 | + implementation("com.google.code.gson:gson:2.10") |
| 30 | + |
| 31 | + compileOnly("org.projectlombok:lombok") |
| 32 | + annotationProcessor("org.projectlombok:lombok") |
| 33 | + |
| 34 | + implementation("org.mapstruct:mapstruct:1.5.3.Final") |
| 35 | + annotationProcessor("org.mapstruct:mapstruct-processor:1.5.3.Final") |
| 36 | + |
| 37 | + implementation("org.springframework.boot:spring-boot-starter-actuator:3.0.1") |
| 38 | + implementation("org.springdoc:springdoc-openapi-ui:1.6.14") |
| 39 | + |
| 40 | + implementation("org.springframework.boot:spring-boot-starter-data-redis:3.0.6") |
| 41 | + implementation("redis.clients:jedis:3.9.0") |
| 42 | + implementation("org.springframework.boot:spring-boot-starter-cache:2.4.3") |
| 43 | + implementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.15.0") |
| 44 | + |
| 45 | + runtimeOnly("io.micrometer:micrometer-registry-prometheus") |
| 46 | + |
| 47 | + testImplementation("org.springframework.boot:spring-boot-starter-test") |
| 48 | + testImplementation("org.testcontainers:testcontainers:1.17.6") |
| 49 | + testImplementation("org.testcontainers:mysql:1.17.6") |
| 50 | +} |
| 51 | + |
| 52 | +tasks.test { |
| 53 | + useJUnitPlatform() |
| 54 | +} |
0 commit comments