2021-04-05 11:16:02 -04:00
|
|
|
plugins {
|
|
|
|
id "java-gradle-plugin"
|
|
|
|
id "java"
|
|
|
|
id "groovy"
|
|
|
|
id 'com.apollographql.apollo' version '2.4.5'
|
|
|
|
}
|
|
|
|
|
2021-04-02 14:13:07 -04:00
|
|
|
|
|
|
|
sourceCompatibility = 1.8
|
2010-03-03 10:40:57 -05:00
|
|
|
|
|
|
|
repositories {
|
2021-04-02 14:13:07 -04:00
|
|
|
jcenter()
|
|
|
|
gradlePluginPortal()
|
2015-03-23 12:14:26 -04:00
|
|
|
mavenCentral()
|
2021-04-02 14:13:07 -04:00
|
|
|
maven { url 'https://repo.spring.io/plugins-release/' }
|
2010-03-03 10:40:57 -05:00
|
|
|
}
|
|
|
|
|
2021-04-08 17:50:44 -04:00
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
java {
|
|
|
|
srcDirs = []
|
|
|
|
}
|
|
|
|
groovy {
|
|
|
|
srcDirs += ["src/main/java"]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-22 19:47:11 -04:00
|
|
|
gradlePlugin {
|
|
|
|
plugins {
|
|
|
|
trang {
|
|
|
|
id = "trang"
|
|
|
|
implementationClass = "trang.TrangPlugin"
|
|
|
|
}
|
2019-12-16 11:45:15 -05:00
|
|
|
locks {
|
|
|
|
id = "locks"
|
|
|
|
implementationClass = "lock.GlobalLockPlugin"
|
|
|
|
}
|
2021-04-05 11:14:13 -04:00
|
|
|
managementConfiguration {
|
|
|
|
id = "io.spring.convention.management-configuration"
|
|
|
|
implementationClass = "io.spring.gradle.convention.ManagementConfigurationPlugin"
|
|
|
|
}
|
2021-04-05 11:16:02 -04:00
|
|
|
updateDependencies {
|
|
|
|
id = "org.springframework.security.update-dependencies"
|
|
|
|
implementationClass = "org.springframework.security.convention.versions.UpdateDependenciesPlugin"
|
|
|
|
}
|
2021-04-07 18:57:57 -04:00
|
|
|
sagan {
|
|
|
|
id = "org.springframework.security.sagan"
|
|
|
|
implementationClass = "org.springframework.gradle.sagan.SaganPlugin"
|
|
|
|
}
|
2021-04-07 22:23:44 -04:00
|
|
|
githubMilestone {
|
|
|
|
id = "org.springframework.github.milestone"
|
|
|
|
implementationClass = "org.springframework.gradle.github.milestones.GitHubMilestonePlugin"
|
|
|
|
}
|
2021-04-30 15:06:39 -04:00
|
|
|
githubChangelog {
|
|
|
|
id = "org.springframework.github.changelog"
|
|
|
|
implementationClass = "org.springframework.gradle.github.changelog.GitHubChangelogPlugin"
|
|
|
|
}
|
2019-08-22 19:47:11 -04:00
|
|
|
}
|
2013-10-03 15:15:09 -04:00
|
|
|
}
|
|
|
|
|
2021-04-02 14:13:07 -04:00
|
|
|
configurations {
|
|
|
|
implementation {
|
|
|
|
exclude module: 'groovy-all'
|
|
|
|
}
|
2013-01-03 19:27:15 -05:00
|
|
|
}
|
|
|
|
|
2021-04-02 14:13:07 -04:00
|
|
|
dependencies {
|
2021-04-07 18:57:57 -04:00
|
|
|
implementation 'com.google.code.gson:gson:2.8.6'
|
2021-04-02 14:13:07 -04:00
|
|
|
implementation 'com.thaiopensource:trang:20091111'
|
|
|
|
implementation 'net.sourceforge.saxon:saxon:9.1.0.8'
|
|
|
|
implementation localGroovy()
|
|
|
|
|
2021-05-17 15:00:56 -04:00
|
|
|
implementation 'io.github.gradle-nexus:publish-plugin:1.1.0'
|
2021-05-14 12:55:35 -04:00
|
|
|
implementation 'io.projectreactor:reactor-core:3.4.6'
|
2021-04-05 11:16:02 -04:00
|
|
|
implementation 'gradle.plugin.org.gretty:gretty:3.0.1'
|
|
|
|
implementation 'com.apollographql.apollo:apollo-runtime:2.4.5'
|
|
|
|
implementation 'com.github.ben-manes:gradle-versions-plugin:0.38.0'
|
2021-04-02 14:13:07 -04:00
|
|
|
implementation 'io.spring.gradle:docbook-reference-plugin:0.3.1'
|
|
|
|
implementation 'io.spring.gradle:propdeps-plugin:0.0.10.RELEASE'
|
|
|
|
implementation 'io.spring.javaformat:spring-javaformat-gradle-plugin:0.0.15'
|
2021-05-14 12:55:41 -04:00
|
|
|
implementation 'io.spring.nohttp:nohttp-gradle:0.0.8'
|
2021-06-01 13:00:25 -04:00
|
|
|
implementation 'org.aim42:htmlSanityCheck:1.1.6'
|
2021-04-02 14:13:07 -04:00
|
|
|
implementation 'org.asciidoctor:asciidoctor-gradle-jvm:3.1.0'
|
|
|
|
implementation 'org.asciidoctor:asciidoctor-gradle-jvm-pdf:3.1.0'
|
|
|
|
implementation 'org.hidetake:gradle-ssh-plugin:2.10.1'
|
|
|
|
implementation 'org.jfrog.buildinfo:build-info-extractor-gradle:4.9.10'
|
|
|
|
implementation 'org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.7.1'
|
|
|
|
|
|
|
|
testImplementation 'junit:junit:4.12'
|
|
|
|
testImplementation 'org.apache.commons:commons-io:1.3.2'
|
|
|
|
testImplementation 'org.assertj:assertj-core:3.13.2'
|
|
|
|
testImplementation 'org.mockito:mockito-core:3.0.0'
|
|
|
|
testImplementation 'org.spockframework:spock-core:1.3-groovy-2.5'
|
2021-04-07 18:57:57 -04:00
|
|
|
testImplementation "com.squareup.okhttp3:mockwebserver:3.14.9"
|
2010-03-03 10:40:57 -05:00
|
|
|
}
|
2021-04-02 17:08:28 -04:00
|
|
|
|
|
|
|
|
|
|
|
test.onlyIf { !project.hasProperty("buildSrc.skipTests") }
|