Skip to content

Commit

Permalink
[kiworkshop#106] update build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
myeongjae-kim committed Aug 10, 2020
1 parent 0b60eee commit 183f7e7
Show file tree
Hide file tree
Showing 18 changed files with 26 additions and 80 deletions.
3 changes: 0 additions & 3 deletions community-backend/app/app-auth/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ plugins {
id 'java'
}

group 'org.kiworkshop'
version '0.0.1-SNAPSHOT'

repositories {
mavenCentral()
}
Expand Down
3 changes: 0 additions & 3 deletions community-backend/app/app-content/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ plugins {
id 'java'
}

group 'org.kiworkshop'
version '0.0.1-SNAPSHOT'

sourceCompatibility = "11"

repositories {
Expand Down
3 changes: 0 additions & 3 deletions community-backend/app/app-monolith/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ plugins {
id 'java'
}

group 'org.kiworkshop'
version '0.0.1-SNAPSHOT'

repositories {
mavenCentral()
}
Expand Down
54 changes: 24 additions & 30 deletions community-backend/build.gradle
Original file line number Diff line number Diff line change
@@ -1,36 +1,25 @@
buildscript {
repositories {
mavenCentral()
jcenter()
}

ext {
springBootVersion = '2.3.1.RELEASE'
springRestDocsVersion = '2.0.4.RELEASE'
okHttpVersion = '4.4.0'
jsr305Version = "3.0.2"
javaxValidationApiVersion = "2.0.1.Final"
commonsLangVersion = "3.10"
h2DatabaseVersion = "1.4.199"
springTestVersion = "5.2.7.RELEASE"
hibernateValidatorVersion = "6.1.5.Final"
javaxElVersion = "3.0.0"
mariaDB4jVersion = "2.4.0"

// springCloudVersion = "Greenwich.RELEASE" // TODO: replace
springCloudVersion = "Greenwich.SR1"
springSecurityOAuth2AutoConfigureVersion = "2.1.9.RELEASE"
}

dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath 'org.asciidoctor:asciidoctor-gradle-plugin:1.5.9.2'
}
}

plugins {
id 'org.flywaydb.flyway' version '6.0.1'
id "io.freefair.lombok" version "5.1.0"
id 'org.springframework.boot' version '2.3.1.RELEASE'
id "org.asciidoctor.convert" version "1.5.9.2"
}

ext {
springRestDocsVersion = '2.0.4.RELEASE'
okHttpVersion = '4.4.0'
jsr305Version = "3.0.2"
javaxValidationApiVersion = "2.0.1.Final"
commonsLangVersion = "3.10"
h2DatabaseVersion = "1.4.199"
springTestVersion = "5.2.7.RELEASE"
hibernateValidatorVersion = "6.1.5.Final"
javaxElVersion = "3.0.0"
mariaDB4jVersion = "2.4.0"

// springCloudVersion = "Greenwich.RELEASE" // TODO: replace
springCloudVersion = "Greenwich.SR1"
springSecurityOAuth2AutoConfigureVersion = "2.1.9.RELEASE"
}

task dockerComposeUp(type: Exec) {
Expand Down Expand Up @@ -58,6 +47,11 @@ task dockerRun(type: Exec) {
commandLine "sh", "-c", "docker run --env PROFILE=local-docker -p 127.0.0.1:8080:80/tcp -t kiworkshop/community"
}

allprojects {
group = 'org.kiworkshop'
version = '0.0.1-SNAPSHOT'
}

// 모든 프로젝트 공통. 주로 lombok 의존성과 test환경 구성 담당
subprojects {
apply plugin: 'java-library'
Expand Down
3 changes: 0 additions & 3 deletions community-backend/core/core-auth/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ plugins {
id 'java'
}

group 'org.kiworkshop'
version '0.0.1-SNAPSHOT'

repositories {
mavenCentral()
}
Expand Down
3 changes: 0 additions & 3 deletions community-backend/core/core-comment/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ plugins {
id 'java'
}

group 'org.kiworkshop'
version '0.0.1-SNAPSHOT'

repositories {
mavenCentral()
}
Expand Down
3 changes: 0 additions & 3 deletions community-backend/core/core-file/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ plugins {
id 'java'
}

group 'org.kiworkshop'
version '0.0.1-SNAPSHOT'

repositories {
mavenCentral()
}
Expand Down
3 changes: 0 additions & 3 deletions community-backend/core/core-mother/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ plugins {
id 'java'
}

group 'org.kiworkshop'
version '0.0.1-SNAPSHOT'

repositories {
mavenCentral()
}
Expand Down
3 changes: 0 additions & 3 deletions community-backend/core/core-user-resource/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ plugins {
id 'java'
}

group 'org.kiworkshop'
version '0.0.1-SNAPSHOT'

repositories {
mavenCentral()
}
Expand Down
3 changes: 0 additions & 3 deletions community-backend/domain/domain-comment/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ plugins {
id 'java'
}

group 'org.kiworkshop'
version '0.0.1-SNAPSHOT'

repositories {
mavenCentral()
}
Expand Down
3 changes: 0 additions & 3 deletions community-backend/domain/domain-common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ plugins {
id 'java'
}

group 'org.kiworkshop'
version '0.0.1-SNAPSHOT'

repositories {
mavenCentral()
}
Expand Down
3 changes: 0 additions & 3 deletions community-backend/domain/domain-file/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ dependencyManagement {
}
}

group 'org.kiworkshop'
version '0.0.1-SNAPSHOT'

repositories {
mavenCentral()
maven { url 'https://repo.spring.io/libs-milestone' }
Expand Down
3 changes: 0 additions & 3 deletions community-backend/domain/domain-mother/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ plugins {
id 'java'
}

group 'org.kiworkshop'
version '0.0.1-SNAPSHOT'

repositories {
mavenCentral()
}
Expand Down
2 changes: 0 additions & 2 deletions community-backend/domain/domain-user-resource/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ plugins {
id 'java'
}

version 'unspecified'

repositories {
mavenCentral()
}
Expand Down
3 changes: 0 additions & 3 deletions community-backend/in-system-available/common-web/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ plugins {
id 'java'
}

group 'org.kiworkshop'
version '0.0.1-SNAPSHOT'

repositories {
mavenCentral()
}
Expand Down
3 changes: 0 additions & 3 deletions community-backend/module/module-validation/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ plugins {
id 'java'
}

group 'org.kiworkshop'
version '0.0.1-SNAPSHOT'

repositories {
mavenCentral()
}
Expand Down
1 change: 1 addition & 0 deletions community-backend/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ include 'core:core-user-resource'
include 'in-system-available:common-web'

include 'module:module-validation'
include 'module:module-object-mapper-async'

7 changes: 1 addition & 6 deletions community-backend/tag-api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ plugins {
id 'java'
}

group 'org.kiworkshop'
version '0.0.1-SNAPSHOT'

sourceCompatibility = 11

repositories {
mavenCentral()
}
Expand All @@ -24,4 +19,4 @@ asciidoctor {
sourceDir 'docs'
outputDir = file('build/docs')
dependsOn test
}
}

0 comments on commit 183f7e7

Please sign in to comment.