This repository was archived by the owner on Mar 11, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
54 lines (44 loc) · 1.27 KB
/
build.gradle
File metadata and controls
54 lines (44 loc) · 1.27 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
buildscript {
apply from: "$rootDir/gradle/buildscript.gradle", to: buildscript
}
group = 'nl.eleven.node-gradle'
apply plugin: 'idea'
apply plugin: 'groovy'
apply plugin: 'maven-publish'
apply plugin: 'java-gradle-plugin'
ext.nextVersion = 'minor'
apply plugin: 'com.cinnober.gradle.semver-git'
apply from: "$rootDir/gradle/additional-artifacts.gradle"
apply from: "$rootDir/gradle/publishing.gradle"
ext.compatibilityVersion = '1.8'
sourceCompatibility = compatibilityVersion
targetCompatibility = compatibilityVersion
repositories {
jcenter()
}
dependencies {
testImplementation 'cglib:cglib-nodep:3.2.9'
testImplementation 'org.apache.commons:commons-io:1.3.2'
testImplementation 'org.spockframework:spock-core:1.3-groovy-2.5'
testImplementation 'com.github.stefanbirkner:system-rules:1.19.0'
}
tasks.withType( Test ) {
testLogging {
events "skipped", "failed"
exceptionFormat "full"
}
}
test {
if (project.hasProperty( 'skipIT') ) {
exclude '**/*_integTest*'
}
maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
}
gradlePlugin {
plugins {
nodePlugin {
id = "nl.eleven.node-gradle.node"
implementationClass = "com.moowork.gradle.node.NodePlugin"
}
}
}