gradle setting 변경
gradle setting 변경
This commit is contained in:
62
build.gradle
62
build.gradle
@@ -1,33 +1,53 @@
|
||||
plugins {
|
||||
// id 'org.springframework.boot' version '2.6.6'
|
||||
// id 'io.spring.dependency-management' version '1.0.11.RELEASE'
|
||||
id 'java'
|
||||
buildscript {
|
||||
ext {
|
||||
springBootVersion = '2.6.6'
|
||||
kafkaCommonVersion ='1.0.0'
|
||||
}
|
||||
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
maven { url 'https://repo.spring.io/plugins-snapshot' }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
classpath("org.springframework.boot:spring-boot-gradle-plugin:$springBootVersion")
|
||||
}
|
||||
}
|
||||
|
||||
group = 'com.github.deogicorgi'
|
||||
version = '0.0.1-SNAPSHOT'
|
||||
sourceCompatibility = '11'
|
||||
group = 'com.github.deogicorgi.reactor'
|
||||
version = '1.0.0'
|
||||
|
||||
//configurations {
|
||||
// compileOnly {
|
||||
// extendsFrom annotationProcessor
|
||||
// }
|
||||
//}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
allprojects {
|
||||
apply plugin: 'idea'
|
||||
apply plugin: 'java'
|
||||
|
||||
sourceCompatibility = '11'
|
||||
targetCompatibility = '11'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
}
|
||||
|
||||
subprojects {
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'idea'
|
||||
apply plugin: 'org.springframework.boot'
|
||||
apply plugin: 'io.spring.dependency-management'
|
||||
|
||||
dependencyManagement {
|
||||
dependencies {
|
||||
dependencySet(group : 'org.springframework.boot', version : springBootVersion) {
|
||||
entry 'spring-boot'
|
||||
entry 'spring-boot-test'
|
||||
entry 'spring-boot-starter'
|
||||
entry 'spring-boot-starter-test'
|
||||
entry 'spring-boot-test-autoconfigure'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'org.springframework.boot:spring-boot-starter'
|
||||
|
||||
implementation 'org.slf4j:jcl-over-slf4j'
|
||||
implementation 'ch.qos.logback:logback-classic'
|
||||
|
||||
// lombok
|
||||
compileOnly 'org.projectlombok:lombok'
|
||||
annotationProcessor 'org.projectlombok:lombok'
|
||||
|
||||
@@ -1,12 +1,10 @@
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'java-library'
|
||||
id 'org.springframework.boot' version '2.6.4'
|
||||
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
|
||||
}
|
||||
|
||||
group 'com.github.deogicorgi.reactive'
|
||||
version '0.0.1-SNAPSHOT'
|
||||
group 'com.github.deogicorgi.reactive.common'
|
||||
version '1.0.0'
|
||||
|
||||
bootJar {
|
||||
enabled = false
|
||||
@@ -16,10 +14,6 @@ jar {
|
||||
enabled = true
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'com.fasterxml.jackson.core:jackson-annotations'
|
||||
}
|
||||
|
||||
@@ -1,22 +1,5 @@
|
||||
plugins {
|
||||
id 'org.springframework.boot' version '2.6.6'
|
||||
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
|
||||
id 'java'
|
||||
}
|
||||
|
||||
group = 'com.github.deogicorgi.reactive.consumer'
|
||||
version = '0.0.1-SNAPSHOT'
|
||||
sourceCompatibility = '11'
|
||||
|
||||
configurations {
|
||||
compileOnly {
|
||||
extendsFrom annotationProcessor
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
version = '1.0.0'
|
||||
|
||||
dependencies {
|
||||
implementation 'org.springframework.boot:spring-boot-starter'
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
package com.github.deogicorgi.reactive.consumer;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
|
||||
@SpringBootTest
|
||||
class ConsumerApplicationTests {
|
||||
|
||||
@Test
|
||||
void contextLoads() {
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,22 +1,5 @@
|
||||
plugins {
|
||||
id 'org.springframework.boot' version '2.6.6'
|
||||
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
|
||||
id 'java'
|
||||
}
|
||||
|
||||
group = 'com.github.deogicorgi.reactive.producer'
|
||||
version = '0.0.1-SNAPSHOT'
|
||||
sourceCompatibility = '11'
|
||||
|
||||
configurations {
|
||||
compileOnly {
|
||||
extendsFrom annotationProcessor
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
version = '1.0.0'
|
||||
|
||||
dependencies {
|
||||
// Spring boot
|
||||
|
||||
Reference in New Issue
Block a user