Skip to content
Permalink
Browse files

Extracted calculator module.

  • Loading branch information...
jacekbilski committed Sep 9, 2018
1 parent 03e5db0 commit 460192005a3c064980ef64c4a9ad659052948a6e
@@ -1,33 +1,20 @@
buildscript {
ext {
springBootVersion = "2.1.0.M2"
}
repositories {
mavenCentral()
maven { url "https://repo.spring.io/milestone" }
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}

apply plugin: "java"
apply plugin: "org.springframework.boot"
apply plugin: "io.spring.dependency-management"

group = "com.webcalc.app"
group = "com.webcalc"
version = "0.0.1-SNAPSHOT"
sourceCompatibility = 10

dependencies {
implementation(project(":calculator"))
implementation("org.springframework.boot:spring-boot-starter-web")
testImplementation("org.springframework.boot:spring-boot-starter-test") {
exclude group: "junit", module: "junit"
}
testImplementation("io.rest-assured:rest-assured")
testImplementation("org.junit.jupiter:junit-jupiter-api")
testRuntime("org.junit.jupiter:junit-jupiter-engine")
testImplementation("org.assertj:assertj-core")
testImplementation("org.junit.jupiter:junit-jupiter-api:${junitVersion}")
testRuntime("org.junit.jupiter:junit-jupiter-engine:${junitVersion}")
testImplementation("org.assertj:assertj-core:${assertjVersion}")
}

test {
@@ -1,4 +1,21 @@
buildscript {
ext {
springBootVersion = "2.1.0.M2"
junitVersion = "5.3.0"
assertjVersion = "3.11.1"
}
repositories {
mavenCentral()
maven { url "https://repo.spring.io/milestone" }
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}

allprojects {
apply plugin: "java"

repositories {
mavenCentral()
maven { url "https://repo.spring.io/milestone" }
@@ -0,0 +1,16 @@
version = "0.0.1-SNAPSHOT"
sourceCompatibility = 10

dependencies {
testImplementation("org.junit.jupiter:junit-jupiter-api:${junitVersion}")
testRuntime("org.junit.jupiter:junit-jupiter-engine:${junitVersion}")
testImplementation("org.assertj:assertj-core:${assertjVersion}")
}

test {
useJUnitPlatform()

testLogging {
events "passed", "skipped", "failed"
}
}
@@ -1 +1 @@
include("app")
include("calculator", "app")

0 comments on commit 4601920

Please sign in to comment.
You can’t perform that action at this time.