Skip to content

Commit a6dfdc8

Browse files
committed
build: using new way of managing build repositories and cgp
1 parent e85602b commit a6dfdc8

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

build.gradle

+2-11
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,20 @@
11
buildscript {
2-
repositories {
3-
mavenCentral()
4-
maven { url 'https://plugins.gradle.org/m2/' }
5-
}
6-
dependencies { classpath 'com.synopsys.integration:common-gradle-plugin:1.2.3' }
2+
apply from: "https://raw.githubusercontent.com/blackducksoftware/integration-resources/master/gradle_common/buildscript-repositories.gradle", to: buildscript
3+
apply from: 'https://raw.githubusercontent.com/blackducksoftware/integration-resources/master/gradle_common/buildscript-dependencies.gradle', to: buildscript
74
}
85

96
plugins { id 'groovy' }
107

118
project.ext.moduleName = 'com.synopsys.integration.jenkins-common'
129
project.ext.javaUseAutoModuleName = 'true'
1310

14-
group = 'com.synopsys.integration'
1511
version = '0.1.6-SNAPSHOT'
1612
description = 'Library for common Synopsys Jenkins plugin logic'
1713
sourceCompatibility = JavaVersion.VERSION_11
1814
targetCompatibility = JavaVersion.VERSION_11
1915

2016
apply plugin: 'com.synopsys.integration.library'
2117

22-
nexusStaging {
23-
packageGroup = 'com.synopsys'
24-
stagingProfileId = '4af8bea8300633'
25-
}
26-
2718
repositories {
2819
// Included to resolve Jenkins and Jenkins plugin dependencies
2920
maven { url 'https://repo.jenkins-ci.org/releases/' }

0 commit comments

Comments
 (0)