@@ -6,28 +6,27 @@ plugins {
66 id " java-library"
77 id " signing"
88 id " maven-publish"
9- id " org.sonarqube" version " 3.2.0 "
9+ id " org.sonarqube" version " 4.0.0.2929 "
1010}
1111
12- def graphqlCodegenVersion = ' 5.7.1 ' // This variable used in the automatic release process
12+ def graphqlCodegenVersion = ' 5.7.2-SNAPSHOT ' // This variable used in the automatic release process
1313
1414group = " io.github.kobylynskyi"
1515version = graphqlCodegenVersion
1616
1717repositories {
1818 mavenCentral()
19- jcenter()
2019}
2120
2221dependencies {
2322 compileOnly " org.freemarker:freemarker:2.3.31"
24- compileOnly " com.graphql-java:graphql-java:20.0 "
23+ compileOnly " com.graphql-java:graphql-java:20.1 "
2524 compileOnly " com.fasterxml.jackson.core:jackson-databind:2.14.2"
26- compileOnly " com.typesafe:config:1.4.1 "
25+ compileOnly " com.typesafe:config:1.4.2 "
2726
28- testImplementation " org.junit.jupiter:junit-jupiter-api:5.7.1 "
29- testImplementation " org.junit.jupiter:junit-jupiter-params:5.7.1 "
30- testRuntimeOnly " org.junit.jupiter:junit-jupiter-engine:5.7.1 "
27+ testImplementation " org.junit.jupiter:junit-jupiter-api:5.9.2 "
28+ testImplementation " org.junit.jupiter:junit-jupiter-params:5.9.2 "
29+ testRuntimeOnly " org.junit.jupiter:junit-jupiter-engine:5.9.2 "
3130 testImplementation " org.hamcrest:java-hamcrest:2.0.0.0"
3231}
3332
@@ -39,15 +38,14 @@ task codeCoverageReport(type: JacocoReport) {
3938 sourceSets sourceSets. main
4039
4140 reports {
42- xml. enabled true
43- xml. destination file(" ${ buildDir} /reports/jacoco/report.xml" )
44- html. enabled false
45- csv. enabled false
41+ html. required = false
42+ csv. required = false
43+ xml. destination = file(" ${ buildDir} /reports/jacoco/report.xml" )
4644 }
4745}
4846
4947configurations {
50- testCompile . extendsFrom compileOnly
48+ testImplementation . extendsFrom compileOnly
5149}
5250
5351test {
@@ -102,7 +100,7 @@ publishing {
102100 licenses {
103101 license {
104102 name = " MIT License"
105- url = " https://github.com/kobylynskyi/graphql-java-codegen/blob/master /LICENSE"
103+ url = " https://github.com/kobylynskyi/graphql-java-codegen/blob/main /LICENSE"
106104 distribution = " repo"
107105 }
108106 }
0 commit comments