-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
81 lines (70 loc) · 2.57 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
/*
* Copyright 2020-2022 Wooga GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
plugins {
id 'net.wooga.plugins' version '5.0.0'
id 'net.wooga.snyk' version '0.13.0'
id 'net.wooga.snyk-gradle-plugin' version '0.7.0'
id "net.wooga.cve-dependency-resolution" version "0.5.0"
}
group 'net.wooga.gradle'
description = 'Node release plugin for Gradle.'
repositories {
mavenCentral()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
// TODO: Figure out how to address this once the below rejected versions finally work, they don't work when resolved to
testImplementation('org.jfrog.artifactory.client:artifactory-java-client-services:[2.9, 3[') {
exclude module: 'logback-classic'
version {
reject("2.11.1", "2.11.0")
prefer("2.10.0")
}
}
testImplementation 'org.kohsuke:github-api:1.3+'
testImplementation 'com.wooga.gradle:gradle-commons-test:[1,2['
implementation 'org.ajoberstar.grgit:grgit-core:[4.1.1,5['
implementation 'org.ajoberstar.grgit:grgit-gradle:[4.1.1,5['
implementation "com.github.node-gradle:gradle-node-plugin:3.2.1"
// Internal wooga plugins
implementation 'com.wooga.gradle:gradle-commons:[1,2['
implementation 'net.wooga.gradle:version:[2,3['
implementation 'net.wooga.gradle:github:[4,5['
}
pluginBundle {
website = 'https://wooga.github.io/atlas-node-release'
vcsUrl = 'https://github.com/wooga/atlas-node-release'
tags = ['Wooga', 'release', 'node', 'npm']
}
gradlePlugin {
plugins {
nodeRelease {
id = 'net.wooga.node-release'
displayName = 'Gradle Wooga Node Release plugin'
description = 'Plugin for wooga npm library releases'
implementationClass = "wooga.gradle.node.NodeReleasePlugin"
}
}
}
github {
repositoryName = "wooga/atlas-node-release"
}
cveHandler {
configurations("compileClasspath", "runtimeClasspath", "testCompileClasspath", "testRuntimeClasspath", "integrationTestCompileClasspath", "integrationTestRuntimeClasspath")
}