diff --git a/data-redis-cache/build.gradle b/data-redis-cache/build.gradle deleted file mode 100644 index 692ac4f5..00000000 --- a/data-redis-cache/build.gradle +++ /dev/null @@ -1,34 +0,0 @@ -plugins { - id 'java' - id 'org.springframework.boot' version '3.5.4' - id 'io.spring.dependency-management' version '1.1.7' -} - -group = 'zin.rashidi' -version = '0.0.1-SNAPSHOT' - -java { - toolchain { - languageVersion = JavaLanguageVersion.of(21) - } -} - -repositories { - mavenCentral() -} - -dependencies { - implementation 'org.springframework.boot:spring-boot-starter-data-jpa' - implementation 'org.springframework.boot:spring-boot-starter-data-redis' - runtimeOnly 'org.postgresql:postgresql' - testImplementation 'org.springframework.boot:spring-boot-starter-test' - testImplementation 'org.springframework.boot:spring-boot-testcontainers' - testImplementation 'org.testcontainers:junit-jupiter' - testImplementation 'org.testcontainers:postgresql' - testImplementation 'com.redis:testcontainers-redis' - testRuntimeOnly 'org.junit.platform:junit-platform-launcher' -} - -tasks.named('test') { - useJUnitPlatform() -} diff --git a/data-redis-cache/build.gradle.kts b/data-redis-cache/build.gradle.kts new file mode 100644 index 00000000..e182c705 --- /dev/null +++ b/data-redis-cache/build.gradle.kts @@ -0,0 +1,34 @@ +plugins { + java + id("org.springframework.boot") version "3.5.4" + id("io.spring.dependency-management") version "1.1.7" +} + +group = "zin.rashidi" +version = "0.0.1-SNAPSHOT" + +java { + toolchain { + languageVersion = JavaLanguageVersion.of(21) + } +} + +repositories { + mavenCentral() +} + +dependencies { + implementation("org.springframework.boot:spring-boot-starter-data-jpa") + implementation("org.springframework.boot:spring-boot-starter-data-redis") + runtimeOnly("org.postgresql:postgresql") + testImplementation("org.springframework.boot:spring-boot-starter-test") + testImplementation("org.springframework.boot:spring-boot-testcontainers") + testImplementation("org.testcontainers:junit-jupiter") + testImplementation("org.testcontainers:postgresql") + testImplementation("com.redis:testcontainers-redis") + testRuntimeOnly("org.junit.platform:junit-platform-launcher") +} + +tasks.named("test") { + useJUnitPlatform() +} diff --git a/data-redis-cache/settings.gradle b/data-redis-cache/settings.gradle deleted file mode 100644 index 11b7ced5..00000000 --- a/data-redis-cache/settings.gradle +++ /dev/null @@ -1 +0,0 @@ -rootProject.name = 'data-redis-cache' diff --git a/data-redis-cache/settings.gradle.kts b/data-redis-cache/settings.gradle.kts new file mode 100644 index 00000000..2fbd83c1 --- /dev/null +++ b/data-redis-cache/settings.gradle.kts @@ -0,0 +1 @@ +rootProject.name = "data-redis-cache"