Files
spring-graphql/build.gradle
2020-08-25 06:34:33 +01:00

55 lines
1.1 KiB
Groovy

import java.text.SimpleDateFormat
subprojects {
apply plugin: 'java'
apply plugin: 'maven'
sourceCompatibility = 1.8
targetCompatibility = 1.8
version = "0.1"
group = 'org.springframework'
ext {
graphqlJavaVersion = "15.0"
springVersion = "5.2.8.RELEASE"
springBootVersion = "2.3.2.RELEASE"
jacksonVersion = "2.9.8"
assertJVersion = "3.16.1"
}
repositories {
mavenCentral()
mavenLocal()
}
task sourcesJar(type: Jar) {
dependsOn classes
classifier 'sources'
from sourceSets.main.allSource
}
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}
javadoc {
options.encoding = 'UTF-8'
}
test {
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed"
}
}
}
task myWrapper(type: Wrapper) {
gradleVersion = '6.5.1'
distributionUrl = "https://services.gradle.org/distributions/gradle-${gradleVersion}-all.zip"
}