-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathbuild.gradle
40 lines (34 loc) · 1023 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
plugins {
id 'java-gradle-plugin'
id 'maven-publish'
}
// CHANGE ME: change to your organization's group ID
group = 'com.myorg'
version = '1.0'
repositories {
gradlePluginPortal()
}
dependencies {
implementation 'com.gradle:develocity-gradle-plugin:4.0'
implementation 'com.gradle:common-custom-user-data-gradle-plugin:2.2.1'
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(8)
}
}
gradlePlugin {
plugins {
develocityConventions {
// CHANGE ME: change for your organization
id = 'com.myorg.convention-develocity-gradle-5-or-newer'
displayName = 'Develocity Convention Plugin for Gradle 5.0 and higher'
description = 'A Gradle plugin to apply and configure the Develocity Gradle plugin for com.myorg'
implementationClass = 'com.myorg.ConventionDevelocityGradlePlugin'
}
}
}
tasks.withType(ValidatePlugins).configureEach {
failOnWarning = true
enableStricterValidation = true
}