Skip to content

Commit fa74696

Browse files
committed
Initial project setup
- Use gradle to build project. - Git ignore gradle and idea generated files. - Create initial domain project, as the intention is that the root won't contain any code but it will be split in sub-projects.
1 parent 0a8d4cb commit fa74696

9 files changed

Lines changed: 326 additions & 0 deletions

File tree

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Gradle generated files
2+
build
3+
.gradle
4+
5+
# Intellij generated files
6+
.idea

build.gradle

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
plugins {
2+
id 'org.jetbrains.kotlin.jvm' version '1.4.10' apply false
3+
}
4+
5+
group = 'lmirabal'
6+
version = '1.0-SNAPSHOT'
7+
8+
subprojects {
9+
apply plugin: 'org.jetbrains.kotlin.jvm'
10+
11+
repositories {
12+
mavenCentral()
13+
}
14+
15+
dependencies {
16+
testImplementation 'org.jetbrains.kotlin:kotlin-test-junit5'
17+
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.0'
18+
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
19+
}
20+
21+
test {
22+
useJUnitPlatform()
23+
}
24+
25+
compileKotlin {
26+
kotlinOptions.jvmTarget = '11'
27+
}
28+
29+
compileTestKotlin {
30+
kotlinOptions.jvmTarget = '11'
31+
}
32+
}
33+
34+
wrapper {
35+
gradleVersion = '6.7.1'
36+
distributionType = Wrapper.DistributionType.ALL
37+
}

domain/build.gradle

Whitespace-only changes.

gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
kotlin.code.style=official

gradle/wrapper/gradle-wrapper.jar

57.8 KB
Binary file not shown.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-all.zip
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists

gradlew

Lines changed: 185 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 89 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

settings.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
rootProject.name = 'bank'
2+
3+
include ':domain'

0 commit comments

Comments
 (0)