-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
69 lines (59 loc) · 1.71 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
// ROOT build.gradle dosyasi : Bu dosya ile proje altinda bulunan modullere dependecieslerin yonetimi saglanmaya calisilmaktadir.
plugins {
id 'java'
id 'org.springframework.boot' version '3.2.5'
id 'io.spring.dependency-management' version '1.1.4'
id 'application'
id 'java-library'
}
//allprojects: Kok dizin ve onun altindaki dizinlerden bahsediyoruz
allprojects {
apply plugin: 'java'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
apply plugin: 'application'
apply plugin: 'java-library'
apply from: "${rootDir}/dependencies.gradle"
}
//subprojects: Sadece alttaki modullerden bahsediyoruz.
subprojects {
group = 'com.serkangnr'
version = 'v0.0.1'
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
//Turkce sorunu olmamasi icin :
tasks.withType(JavaCompile).configureEach {
options.encoding = "UTF-8"
}
buildscript {
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${versions.springBoot}")
}
}
}
allprojects {
repositories {
mavenCentral()
}
dependencies {
implementation libs.springBootWeb
compileOnly libs.lombok
annotationProcessor libs.lombok
implementation libs.openapi
implementation libs.mapstruct
annotationProcessor libs.mapstructProcessor
implementation libs.jwt
implementation libs.springBootDataMongo
implementation libs.springRabbit
}
buildscript {
repositories {
mavenCentral()
}
}
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}