aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-application
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2019-06-19 13:56:51 -0500
committerSonarTech <sonartech@sonarsource.com>2019-07-12 20:21:14 +0200
commit93dc9770902dc7e168869d88b5ad731bfc0bedd9 (patch)
tree97ba885661d5cd9a2115fe212df31bacec9f9947 /sonar-application
parent7c7d9b6b90244d2c974207862071caccdb2c9bb5 (diff)
downloadsonarqube-93dc9770902dc7e168869d88b5ad731bfc0bedd9.tar.gz
sonarqube-93dc9770902dc7e168869d88b5ad731bfc0bedd9.zip
Extract implementation from plugin API and create new module sonar-plugin-api-impl
Diffstat (limited to 'sonar-application')
-rw-r--r--sonar-application/build.gradle4
-rw-r--r--sonar-application/src/main/java/org/sonar/application/App.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/sonar-application/build.gradle b/sonar-application/build.gradle
index b6ec4aae2d3..edf70929c6b 100644
--- a/sonar-application/build.gradle
+++ b/sonar-application/build.gradle
@@ -203,8 +203,8 @@ zip.doFirst {
}
// Check the size of the archive
zip.doLast {
- def minLength = 185000000
- def maxLength = 199000000
+ def minLength = 198000000
+ def maxLength = 206000000
def length = archiveFile.get().asFile.length()
if (length < minLength)
throw new GradleException("$archiveName size ($length) too small. Min is $minLength")
diff --git a/sonar-application/src/main/java/org/sonar/application/App.java b/sonar-application/src/main/java/org/sonar/application/App.java
index c37aff811d4..b547f2cd76c 100644
--- a/sonar-application/src/main/java/org/sonar/application/App.java
+++ b/sonar-application/src/main/java/org/sonar/application/App.java
@@ -21,7 +21,7 @@ package org.sonar.application;
import java.io.IOException;
import org.sonar.api.SonarEdition;
-import org.sonar.api.internal.MetadataLoader;
+import org.sonar.api.impl.context.MetadataLoader;
import org.sonar.application.command.CommandFactory;
import org.sonar.application.command.CommandFactoryImpl;
import org.sonar.application.command.JavaVersion;