-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change build tool, from Maven to Gradle
- Loading branch information
1 parent
939f776
commit c96dc0e
Showing
19 changed files
with
483 additions
and
850 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,3 +39,6 @@ target/ | |
|
||
.DS_Store | ||
.env | ||
|
||
# Ignore Gradle build output directory | ||
build |
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
plugins { | ||
id 'java' | ||
id 'org.springframework.boot' version '3.1.4' apply(false) | ||
id 'org.graalvm.buildtools.native' version '0.9.27' apply(false) | ||
id 'io.spring.dependency-management' version '1.1.3' | ||
} | ||
|
||
ext { | ||
set('jjwtVersion', "0.11.5") | ||
set('snakeyamlVersion', "2.2") | ||
set('lombokVersion', "1.18.30") | ||
set('springBootVersion', "3.1.4") | ||
set('springCloudVersion', "2022.0.4") | ||
set('mapstructVersion', "1.5.5.Final") | ||
} | ||
|
||
allprojects { | ||
group = 'meetona' | ||
version = '0.0.1' | ||
|
||
repositories { | ||
mavenLocal() | ||
mavenCentral() | ||
} | ||
} | ||
|
||
subprojects { | ||
apply plugin: 'java' | ||
apply plugin: 'org.springframework.boot' | ||
apply plugin: 'io.spring.dependency-management' | ||
|
||
java { | ||
sourceCompatibility = '21' | ||
targetCompatibility = '21' | ||
} | ||
|
||
// apply from: '$rootProject.projectDir/dependencies.gradle' | ||
|
||
configurations { | ||
compileOnly.extendsFrom annotationProcessor | ||
testCompileOnly.extendsFrom annotationProcessor | ||
testAnnotationProcessor.extendsFrom annotationProcessor | ||
} | ||
|
||
dependencies { | ||
implementation 'org.springframework.boot:spring-boot-starter-security' | ||
implementation 'org.springframework.boot:spring-boot-starter-data-jpa' | ||
implementation 'org.springframework.boot:spring-boot-starter-web' | ||
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.2.0' | ||
implementation 'net.logstash.logback:logstash-logback-encoder:7.4' | ||
implementation "org.yaml:snakeyaml:${snakeyamlVersion}" | ||
implementation 'de.siegmar:logback-gelf:4.0.2' | ||
|
||
compileOnly "org.projectlombok:lombok:${lombokVersion}" | ||
developmentOnly 'org.springframework.boot:spring-boot-devtools' | ||
|
||
annotationProcessor "org.projectlombok:lombok:${lombokVersion}" | ||
annotationProcessor "org.mapstruct:mapstruct-processor:${mapstructVersion}" | ||
annotationProcessor 'org.projectlombok:lombok-mapstruct-binding:0.2.0' | ||
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor' | ||
|
||
testImplementation 'org.springframework.boot:spring-boot-starter-test' | ||
testImplementation 'org.springframework.boot:spring-boot-testcontainers' | ||
testImplementation 'org.testcontainers:junit-jupiter' | ||
testImplementation 'org.testcontainers:postgresql:1.19.0' | ||
testImplementation 'org.springframework.amqp:spring-rabbit-test' | ||
testImplementation 'org.springframework.security:spring-security-test:6.0.2' | ||
} | ||
|
||
dependencyManagement { | ||
imports { | ||
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}" | ||
} | ||
} | ||
|
||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
jar.enabled = true | ||
|
||
bootJar.enabled = false | ||
|
||
dependencies { | ||
implementation project(':') | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
jar.enabled = true | ||
|
||
bootJar.enabled = false | ||
|
||
dependencies { | ||
implementation project(':core') | ||
implementation 'org.springframework.boot:spring-boot-starter-mail' | ||
implementation 'org.springframework.boot:spring-boot-starter-data-redis' | ||
implementation 'org.springframework.boot:spring-boot-starter-amqp' | ||
implementation 'org.springframework.boot:spring-boot-starter-freemarker' | ||
|
||
implementation "org.mapstruct:mapstruct:${mapstructVersion}" | ||
implementation "io.jsonwebtoken:jjwt-api:${jjwtVersion}" | ||
|
||
runtimeOnly 'org.postgresql:postgresql' | ||
runtimeOnly "io.jsonwebtoken:jjwt-impl:${jjwtVersion}" | ||
runtimeOnly "io.jsonwebtoken:jjwt-jackson:${jjwtVersion}" | ||
} |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip | ||
networkTimeout=10000 | ||
validateDistributionUrl=true | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
Oops, something went wrong.