-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify and Refactor build.gradle files
- Loading branch information
1 parent
30873bc
commit b7bc5c6
Showing
11 changed files
with
45 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
dependencies { | ||
// Main-dependency needed for JUnit 5 | ||
testCompile "org.junit.jupiter:junit-jupiter-api:${junit5_version}" | ||
testCompile "org.junit.jupiter:junit-jupiter-api:$junit5_version" | ||
|
||
|
||
// Commons | ||
testCompile project(":common") | ||
|
||
|
||
// Logging | ||
testCompile "org.slf4j:slf4j-simple:${slf4j_version}" | ||
testCompile "org.slf4j:slf4j-simple:$slf4j_version" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
dependencies { | ||
// Main-dependency needed for JUnit 5 | ||
testCompile "org.junit.jupiter:junit-jupiter-api:${junit5_version}" | ||
testCompile "org.junit.jupiter:junit-jupiter-api:$junit5_version" | ||
|
||
|
||
// Lagacy support for JUnit 4 | ||
testCompile "org.junit.vintage:junit-vintage-engine:${junit5_vintage4_version}" | ||
testCompile "org.junit.vintage:junit-vintage-engine:$junit5_vintage4_version" | ||
|
||
|
||
// Commons | ||
testCompile project(":common") | ||
|
||
|
||
// Logging | ||
testCompile "org.slf4j:slf4j-simple:${slf4j_version}" | ||
testCompile "org.slf4j:slf4j-simple:$slf4j_version" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
dependencies { | ||
// Main-dependency needed for JUnit 5 | ||
testCompile "org.junit.jupiter:junit-jupiter-api:${junit5_version}" | ||
testCompile "org.junit.jupiter:junit-jupiter-api:$junit5_version" | ||
|
||
|
||
// AssertJ | ||
testCompile "org.assertj:assertj-core:${assertj_version}" | ||
testCompile "org.assertj:assertj-core:$assertj_version" | ||
|
||
|
||
// Hamcrest for comparison | ||
testCompile "org.hamcrest:hamcrest-all:${hamcrest_version}" | ||
testCompile "org.hamcrest:hamcrest-all:$hamcrest_version" | ||
|
||
|
||
// Commons | ||
testCompile project(":common") | ||
|
||
|
||
// Logging | ||
testCompile "org.slf4j:slf4j-simple:${slf4j_version}" | ||
testCompile "org.slf4j:slf4j-simple:$slf4j_version" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
dependencies { | ||
// Main-dependency needed for JUnit 5 | ||
testCompile "org.junit.jupiter:junit-jupiter-api:${junit5_version}" | ||
testCompile "org.junit.jupiter:junit-jupiter-api:$junit5_version" | ||
|
||
// Lagacy support for JUnit 4 | ||
testCompile "org.junit.vintage:junit-vintage-engine:${junit5_vintage4_version}" | ||
testCompile "org.junit.vintage:junit-vintage-engine:$junit5_vintage4_version" | ||
|
||
// Spring Boot 4 | ||
compile "org.springframework.boot:spring-boot-starter-data-jpa:${spring4_boot_version}" | ||
testCompile "org.springframework.boot:spring-boot-starter-test:${spring4_boot_version}" | ||
compile "org.springframework.boot:spring-boot-starter-data-jpa:$spring4_boot_version" | ||
testCompile "org.springframework.boot:spring-boot-starter-test:$spring4_boot_version" | ||
// JUnit 5 Extension for Spring 4 Tests | ||
testCompile "com.github.sbrannen:spring-test-junit5:${junit5_spring4_test_version}" | ||
testCompile "com.github.sbrannen:spring-test-junit5:$junit5_spring4_test_version" | ||
|
||
|
||
// Commons | ||
testCompile project(":common") | ||
|
||
// Database Drivers | ||
runtime "org.hsqldb:hsqldb:${hsqldb_driver_version}" | ||
runtime "org.postgresql:postgresql:${postgresql_driver_version}" | ||
runtime "org.hsqldb:hsqldb:$hsqldb_driver_version" | ||
runtime "org.postgresql:postgresql:$postgresql_driver_version" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
dependencies { | ||
// Main-dependency needed for JUnit 5 | ||
testCompile "org.junit.jupiter:junit-jupiter-api:${junit5_version}" | ||
testCompile "org.junit.jupiter:junit-jupiter-api:$junit5_version" | ||
// Lagacy support for JUnit 4 | ||
testCompile "org.junit.vintage:junit-vintage-engine:${junit5_vintage4_version}" | ||
testCompile "org.junit.vintage:junit-vintage-engine:$junit5_vintage4_version" | ||
|
||
|
||
// Spring Boot 5 | ||
compile "org.springframework.boot:spring-boot-starter-data-jpa:${spring5_boot_version}" | ||
testCompile "org.springframework.boot:spring-boot-starter-test:${spring5_boot_version}" | ||
compile "org.springframework.boot:spring-boot-starter-data-jpa:$spring5_boot_version" | ||
testCompile "org.springframework.boot:spring-boot-starter-test:$spring5_boot_version" | ||
|
||
|
||
// Commons | ||
testCompile project(":common") | ||
|
||
|
||
// Database Drivers | ||
runtime "org.hsqldb:hsqldb:${hsqldb_driver_version}" | ||
runtime "org.postgresql:postgresql:${postgresql_driver_version}" | ||
runtime "org.hsqldb:hsqldb:$hsqldb_driver_version" | ||
runtime "org.postgresql:postgresql:$postgresql_driver_version" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
dependencies { | ||
// Main-dependency needed for JUnit 5 | ||
testCompile "org.junit.jupiter:junit-jupiter-api:${junit5_version}" | ||
testCompile "org.junit.jupiter:junit-jupiter-api:$junit5_version" | ||
// Lagacy support for JUnit 4 | ||
testCompile "org.junit.vintage:junit-vintage-engine:${junit5_vintage4_version}" | ||
testCompile "org.junit.vintage:junit-vintage-engine:$junit5_vintage4_version" | ||
|
||
|
||
// Spring 4 | ||
compile "org.springframework.data:spring-data-jpa:${spring4_version}" | ||
compile "org.springframework.data:spring-data-jpa:$spring4_version" | ||
// JUnit 5 Extension for Spring 4 Tests | ||
testCompile "com.github.sbrannen:spring-test-junit5:${junit5_spring4_test_version}" | ||
testCompile "com.github.sbrannen:spring-test-junit5:$junit5_spring4_test_version" | ||
|
||
|
||
// Hibernate JPA | ||
compile "org.hibernate:hibernate-core:${hibernate_core_version}" | ||
compile "org.hibernate:hibernate-core:$hibernate_core_version" | ||
|
||
|
||
// Commons | ||
compile project(":common") | ||
|
||
|
||
// Database Drivers | ||
runtime "org.hsqldb:hsqldb:${hsqldb_driver_version}" | ||
runtime "org.postgresql:postgresql:${postgresql_driver_version}" | ||
runtime "org.hsqldb:hsqldb:$hsqldb_driver_version" | ||
runtime "org.postgresql:postgresql:$postgresql_driver_version" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
dependencies { | ||
// Main-dependency needed for JUnit 5 | ||
testCompile "org.junit.jupiter:junit-jupiter-api:${junit5_version}" | ||
testCompile "org.junit.jupiter:junit-jupiter-api:$junit5_version" | ||
// Lagacy support for JUnit 4 | ||
testCompile "org.junit.vintage:junit-vintage-engine:${junit5_vintage4_version}" | ||
testCompile "org.junit.vintage:junit-vintage-engine:$junit5_vintage4_version" | ||
|
||
|
||
// Spring 5 | ||
compile "org.springframework.data:spring-data-jpa:${spring5_data_jpa_version}" | ||
testCompile "org.springframework:spring-test:${spring5_version}" | ||
compile "org.springframework.data:spring-data-jpa:$spring5_data_jpa_version" | ||
testCompile "org.springframework:spring-test:$spring5_version" | ||
|
||
|
||
// Hibernate JPA | ||
compile "org.hibernate:hibernate-core:${hibernate_core_version}" | ||
compile "org.hibernate:hibernate-core:$hibernate_core_version" | ||
|
||
|
||
// Commons | ||
compile project(":common") | ||
|
||
|
||
// Database Drivers | ||
runtime "org.hsqldb:hsqldb:${hsqldb_driver_version}" | ||
runtime "org.postgresql:postgresql:${postgresql_driver_version}" | ||
runtime "org.hsqldb:hsqldb:$hsqldb_driver_version" | ||
runtime "org.postgresql:postgresql:$postgresql_driver_version" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
dependencies { | ||
// Main-dependency needed for JUnit 5 | ||
testCompile "org.junit.jupiter:junit-jupiter-api:${junit5_version}" | ||
testCompile "org.junit.jupiter:junit-jupiter-api:$junit5_version" | ||
|
||
|
||
// Commons | ||
testCompile project(":common") | ||
|
||
|
||
// Logging | ||
testCompile "org.slf4j:slf4j-simple:${slf4j_version}" | ||
testCompile "org.slf4j:slf4j-simple:$slf4j_version" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
dependencies { | ||
// Main-dependency needed for JUnit 5 | ||
testCompile "org.junit.jupiter:junit-jupiter-api:${junit5_version}" | ||
testCompile "org.junit.jupiter:junit-jupiter-api:$junit5_version" | ||
|
||
|
||
// Mockito | ||
testCompile "org.mockito:mockito-core:${mockito_version}" | ||
testCompile "org.mockito:mockito-core:$mockito_version" | ||
|
||
|
||
// Commons | ||
testCompile project(":common") | ||
|
||
|
||
// Logging | ||
testCompile "org.slf4j:slf4j-simple:${slf4j_version}" | ||
testCompile "org.slf4j:slf4j-simple:$slf4j_version" | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
dependencies { | ||
// Hibernate JPA | ||
compile "org.hibernate.javax.persistence:hibernate-jpa-2.1-api:${hibernate_jpa_version}" | ||
compile "org.hibernate.javax.persistence:hibernate-jpa-2.1-api:$hibernate_jpa_version" | ||
} |