Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.

Commit 0673a5f

Browse files
committed
Transform to monorepo
1 parent 1803875 commit 0673a5f

File tree

23 files changed

+71
-28
lines changed

23 files changed

+71
-28
lines changed

β€Žapp/build.gradleβ€Ž

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
apply plugin: 'application'
2+
3+
application {
4+
}
5+
6+
dependencies {
7+
}
8+
9+
run.doFirst {
10+
}

β€Žbuild.gradleβ€Ž

Lines changed: 31 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,40 @@
1-
apply plugin: 'java'
2-
apply plugin: 'application'
3-
4-
sourceCompatibility = 1.11
5-
targetCompatibility = 1.11
1+
buildscript {
2+
repositories {
3+
mavenCentral()
4+
jcenter()
5+
}
6+
}
67

7-
repositories {
8-
mavenCentral()
9-
jcenter()
8+
allprojects {
9+
repositories {
10+
mavenCentral()
11+
}
1012
}
1113

12-
dependencies {
13-
// Prod
14-
implementation 'io.projectreactor:reactor-bus:2.0.8.RELEASE'
14+
subprojects {
15+
apply plugin: 'java'
1516

16-
// Test
17-
testCompile "org.mockito:mockito-core:2.+"
18-
testCompile 'org.junit.jupiter:junit-jupiter-api:5.+'
19-
testRuntime 'org.junit.jupiter:junit-jupiter-engine:5.+'
20-
}
17+
group = "tv.codely.${rootProject.name}"
2118

22-
test {
23-
useJUnitPlatform()
19+
dependencies {
20+
// Prod
21+
implementation 'io.projectreactor:reactor-bus:2.0.8.RELEASE'
2422

25-
testLogging {
26-
events "passed", "skipped", "failed"
23+
// Test
24+
testCompile "org.mockito:mockito-core:2.+"
25+
testCompile 'org.junit.jupiter:junit-jupiter-api:5.+'
26+
testRuntime 'org.junit.jupiter:junit-jupiter-engine:5.+'
2727
}
2828

29-
reports {
30-
html.enabled = true
31-
}
32-
}
29+
test {
30+
useJUnitPlatform()
3331

34-
application {
35-
mainClassName = "tv.codely.context.video.module.video.infrastructure.VideoPublisherCliController"
36-
}
32+
testLogging {
33+
events "passed", "skipped", "failed"
34+
}
35+
36+
reports {
37+
html.enabled = true
38+
}
39+
}
40+
}
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
#Sun Feb 24 20:05:13 CET 2019
12
distributionBase=GRADLE_USER_HOME
23
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip

β€Žsettings.gradleβ€Ž

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
rootProject.name = 'cqrs-ddd-java-example'
2+
3+
include 'app'
4+
include 'src:backoffice'
5+
include 'src:mooc'
6+
include 'src:shared'

β€Žsrc/backoffice/build.gradleβ€Ž

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
apply plugin: 'application'
2+
3+
application {
4+
}
5+
6+
dependencies {
7+
}
8+
9+
run.doFirst {
10+
}

β€Žsrc/mooc/build.gradleβ€Ž

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
apply plugin: 'application'
2+
3+
application {
4+
mainClassName = "tv.codely.context.video.module.video.infrastructure.VideoPublisherCliController"
5+
}
6+
7+
dependencies {
8+
}
9+
10+
run.doFirst {
11+
// Environment variables go here.
12+
}

0 commit comments

Comments
Β (0)