-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
36 lines (28 loc) · 813 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
24
25
26
27
28
29
30
31
32
33
34
35
36
plugins {
id 'org.springframework.boot' version '3.1.0'
id 'io.spring.dependency-management' version '1.1.0'
id 'java'
id 'maven-publish'
}
group 'com.hanankhan'
version '1.0.0'
sourceCompatibility = '17'
repositories {
mavenCentral()
}
dependencies {
// Spring Boot dependencies
implementation 'org.springframework.boot:spring-boot-starter-web'
// Optional: For Redis-based implementation of rate limiting
// implementation 'org.springframework.boot:spring-boot-starter-data-redis'
// Bucket4j: A Java rate limiting library
implementation 'com.github.vladimir-bukhtoyarov:bucket4j-core:7.6.0'
// Spring Boot Test dependencies
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
test {
useJUnitPlatform()
}
//publishing {
//
//}