Skip to content

Commit f27eafa

Browse files
committed
Add assertion dep and change comp target for tests
1 parent ee7168b commit f27eafa

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ configurations {
149149
// Test things
150150
dependencies {
151151
intTestImplementation "junit:junit:4.13.2"
152+
intTestImplementation "org.assertj:assertj-core:3.26.3"
152153
}
153154

154155
tasks.register('integrationTest', Test) {
@@ -157,6 +158,11 @@ tasks.register('integrationTest', Test) {
157158
description = 'Runs integration tests.'
158159
group = 'verification'
159160

161+
// This is mostly so we can use """strings"""
162+
// in tests and not have it yell at us.
163+
sourceCompatibility = JavaVersion.VERSION_15
164+
targetCompatibility = JavaVersion.VERSION_15
165+
160166
testClassesDirs = sourceSets.intTest.output.classesDirs
161167
classpath = sourceSets.intTest.runtimeClasspath
162168
shouldRunAfter test

0 commit comments

Comments
 (0)