aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/sonar-db-dao/build.gradle16
-rw-r--r--server/sonar-db-migration/build.gradle17
-rw-r--r--server/sonar-plugin-bridge/build.gradle15
-rw-r--r--server/sonar-process/build.gradle14
-rw-r--r--server/sonar-qa-util/build.gradle15
-rw-r--r--server/sonar-server-common/build.gradle11
-rw-r--r--server/sonar-server/build.gradle18
7 files changed, 2 insertions, 104 deletions
diff --git a/server/sonar-db-dao/build.gradle b/server/sonar-db-dao/build.gradle
index f7103bceaae..b7c6ef08d86 100644
--- a/server/sonar-db-dao/build.gradle
+++ b/server/sonar-db-dao/build.gradle
@@ -47,19 +47,3 @@ configurations {
artifacts {
tests testJar
}
-
-artifactoryPublish.skip = false
-
-// Used by core plugins
-publishing {
- publications {
- mavenJava(MavenPublication) {
- from components.java
- if (release) {
- artifact sourcesJar
- artifact javadocJar
- artifact testJar
- }
- }
- }
-}
diff --git a/server/sonar-db-migration/build.gradle b/server/sonar-db-migration/build.gradle
index 53e5be5a48c..91ab0460623 100644
--- a/server/sonar-db-migration/build.gradle
+++ b/server/sonar-db-migration/build.gradle
@@ -30,20 +30,5 @@ dependencies {
}
test {
- systemProperty 'orchestrator.configUrl', System.getProperty('orchestrator.configUrl')
-}
-
-artifactoryPublish.skip = false
-
-// Used by core plugins
-publishing {
- publications {
- mavenJava(MavenPublication) {
- from components.java
- if (release) {
- artifact sourcesJar
- artifact javadocJar
- }
- }
- }
+ systemProperty 'orchestrator.configUrl', System.getProperty('orchestrator.configUrl')
}
diff --git a/server/sonar-plugin-bridge/build.gradle b/server/sonar-plugin-bridge/build.gradle
index d1fdaf049e8..9f327b3694d 100644
--- a/server/sonar-plugin-bridge/build.gradle
+++ b/server/sonar-plugin-bridge/build.gradle
@@ -12,18 +12,3 @@ dependencies {
compileOnly 'com.google.code.findbugs:jsr305'
}
-
-artifactoryPublish.skip = false
-
-// Used by core plugins
-publishing {
- publications {
- mavenJava(MavenPublication) {
- from components.java
- if (release) {
- artifact sourcesJar
- artifact javadocJar
- }
- }
- }
-}
diff --git a/server/sonar-process/build.gradle b/server/sonar-process/build.gradle
index 862d121f001..4f6c00cbf54 100644
--- a/server/sonar-process/build.gradle
+++ b/server/sonar-process/build.gradle
@@ -28,17 +28,3 @@ dependencies {
testCompile 'org.mockito:mockito-core'
testCompile project(':sonar-testing-harness')
}
-
-artifactoryPublish.skip = false
-
-publishing {
- publications {
- mavenJava(MavenPublication) {
- from components.java
- if (release) {
- artifact sourcesJar
- artifact javadocJar
- }
- }
- }
-}
diff --git a/server/sonar-qa-util/build.gradle b/server/sonar-qa-util/build.gradle
index da6634f460c..14a6ccd4573 100644
--- a/server/sonar-qa-util/build.gradle
+++ b/server/sonar-qa-util/build.gradle
@@ -14,18 +14,3 @@ dependencies {
compileOnly 'com.google.code.findbugs:jsr305'
}
-
-artifactoryPublish.skip = false
-
-// Required for core plugins
-publishing {
- publications {
- mavenJava(MavenPublication) {
- from components.java
- if (release) {
- artifact sourcesJar
- artifact javadocJar
- }
- }
- }
-}
diff --git a/server/sonar-server-common/build.gradle b/server/sonar-server-common/build.gradle
index 12184b6cdaa..94fa4862ee7 100644
--- a/server/sonar-server-common/build.gradle
+++ b/server/sonar-server-common/build.gradle
@@ -21,14 +21,3 @@ dependencies {
testCompile 'org.assertj:assertj-core'
testCompile 'org.mockito:mockito-core'
}
-
-//artifactoryPublish.skip = false
-
-// Used by core plugins
-publishing {
- publications {
- mavenJava(MavenPublication) {
- from components.java
- }
- }
-}
diff --git a/server/sonar-server/build.gradle b/server/sonar-server/build.gradle
index 6b4fd8a88a6..c62666ca78b 100644
--- a/server/sonar-server/build.gradle
+++ b/server/sonar-server/build.gradle
@@ -95,21 +95,5 @@ configurations {
}
artifacts {
- tests testJar
-}
-
-artifactoryPublish.skip = false
-
-// Used by core plugins
-publishing {
- publications {
- mavenJava(MavenPublication) {
- from components.java
- if (release) {
- artifact sourcesJar
- artifact javadocJar
- artifact testJar
- }
- }
- }
+ tests testJar
}