File tree Expand file tree Collapse file tree 3 files changed +7
-11
lines changed
src/test/java/com/kobylynskyi/graphql/codegen Expand file tree Collapse file tree 3 files changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,6 @@ repositories {
1515}
1616
1717dependencies {
18- compile gradleApi()
19-
2018 compile " org.freemarker:freemarker:2.3.28"
2119 compile " com.graphql-java:graphql-java:13.0"
2220
@@ -25,6 +23,7 @@ dependencies {
2523
2624 testImplementation " org.junit.jupiter:junit-jupiter-api:5.5.1"
2725 testRuntimeOnly " org.junit.jupiter:junit-jupiter-engine:5.5.1"
26+ testCompile ' org.hamcrest:java-hamcrest:2.0.0.0'
2827}
2928
3029task sourcesJar (type : Jar ) {
Original file line number Diff line number Diff line change 22
33import com .kobylynskyi .graphql .codegen .model .MappingConfig ;
44import com .kobylynskyi .graphql .codegen .utils .Utils ;
5- import org .gradle . internal . impldep . org . hamcrest .core .StringContains ;
5+ import org .hamcrest .core .StringContains ;
66import org .junit .jupiter .api .BeforeEach ;
77import org .junit .jupiter .api .Test ;
88
1313import java .util .Collections ;
1414import java .util .Objects ;
1515
16- import static org .gradle . internal . impldep . org . hamcrest .MatcherAssert .assertThat ;
16+ import static org .hamcrest .MatcherAssert .assertThat ;
1717import static org .junit .jupiter .api .Assertions .assertEquals ;
1818
1919class GraphqlCodegenGitHubTest {
Original file line number Diff line number Diff line change 22
33import com .kobylynskyi .graphql .codegen .model .MappingConfig ;
44import com .kobylynskyi .graphql .codegen .utils .Utils ;
5- import org .gradle . internal . impldep . org . hamcrest .core .StringContains ;
6- import org .gradle . internal . impldep . org . hamcrest .core .StringStartsWith ;
5+ import org .hamcrest .core .StringContains ;
6+ import org .hamcrest .core .StringStartsWith ;
77import org .junit .jupiter .api .AfterEach ;
88import org .junit .jupiter .api .Assertions ;
99import org .junit .jupiter .api .BeforeEach ;
1313import java .io .FileNotFoundException ;
1414import java .io .IOException ;
1515import java .nio .file .NoSuchFileException ;
16- import java .util .Arrays ;
17- import java .util .Collections ;
18- import java .util .List ;
19- import java .util .Objects ;
16+ import java .util .*;
2017
2118import static java .util .stream .Collectors .toList ;
22- import static org .gradle . internal . impldep . org . hamcrest .MatcherAssert .assertThat ;
19+ import static org .hamcrest .MatcherAssert .assertThat ;
2320import static org .junit .jupiter .api .Assertions .assertEquals ;
2421import static org .junit .jupiter .api .Assertions .fail ;
2522
You can’t perform that action at this time.
0 commit comments