compileOnly 'com.google.code.findbugs:jsr305' | compileOnly 'com.google.code.findbugs:jsr305' | ||||
compileOnly project(':sonar-core') | compileOnly project(':sonar-core') | ||||
compileOnly project(':server:sonar-ce-task') | |||||
compileOnly project(':server:sonar-db-dao') | compileOnly project(':server:sonar-db-dao') | ||||
compileOnly project(':server:sonar-process') | compileOnly project(':server:sonar-process') | ||||
compileOnly project(':server:sonar-server-common') | compileOnly project(':server:sonar-server-common') | ||||
testCompile 'org.mockito:mockito-core' | testCompile 'org.mockito:mockito-core' | ||||
testCompile 'org.reflections:reflections' | testCompile 'org.reflections:reflections' | ||||
testCompile project(':server:sonar-db-testing') | testCompile project(':server:sonar-db-testing') | ||||
testCompile project(path: ":server:sonar-ce-task", configuration: "tests") | |||||
testCompile project(path: ":server:sonar-server", configuration: "tests") | testCompile project(path: ":server:sonar-server", configuration: "tests") | ||||
} | } | ||||
description = 'Definition of a Compute Engine task and utility "framework" and classes to code one' | |||||
sonarqube { | |||||
properties { | |||||
property 'sonar.projectName', "${projectTitle} :: Compute Engine :: Task" | |||||
} | |||||
} | |||||
sourceSets { | |||||
test { | |||||
resources { | |||||
srcDirs += ['src/test/projects'] | |||||
} | |||||
} | |||||
} | |||||
import org.apache.tools.ant.filters.ReplaceTokens | |||||
processResources { | |||||
filesMatching('build.properties') { | |||||
filter ReplaceTokens, tokens: [ | |||||
'buildNumber': release ? 'git rev-parse HEAD'.execute().text.trim() : 'N/A' | |||||
] | |||||
} | |||||
} | |||||
dependencies { | |||||
// please keep the list grouped by configuration and ordered by name | |||||
compile 'org.picocontainer:picocontainer' | |||||
compile 'org.slf4j:jul-to-slf4j' | |||||
compile 'org.slf4j:slf4j-api' | |||||
compile project(':server:sonar-process') | |||||
compile project(':sonar-core') | |||||
compileOnly project(path: ':sonar-plugin-api') | |||||
compileOnly 'com.google.code.findbugs:jsr305' | |||||
testCompile 'ch.qos.logback:logback-access' | |||||
testCompile 'ch.qos.logback:logback-classic' | |||||
testCompile 'ch.qos.logback:logback-core' | |||||
testCompile 'com.google.code.findbugs:jsr305' | |||||
testCompile 'com.h2database:h2' | |||||
testCompile 'com.tngtech.java:junit-dataprovider' | |||||
testCompile 'junit:junit' | |||||
testCompile 'org.apache.logging.log4j:log4j-api' | |||||
testCompile 'org.apache.logging.log4j:log4j-core' | |||||
testCompile 'org.assertj:assertj-core' | |||||
testCompile 'org.assertj:assertj-guava' | |||||
testCompile 'org.mockito:mockito-core' | |||||
testCompile 'org.reflections:reflections' | |||||
} | |||||
task testJar(type: Jar) { | |||||
classifier = 'tests' | |||||
from sourceSets.test.output | |||||
} | |||||
configurations { | |||||
tests | |||||
} | |||||
artifacts { | |||||
tests testJar | |||||
} |
<?xml version="1.0" encoding="UTF-8" ?> | |||||
<configuration debug="false"> | |||||
<contextListener class="ch.qos.logback.classic.jul.LevelChangePropagator"/> | |||||
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender"> | |||||
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder"> | |||||
<pattern> | |||||
%d{yyyy.MM.dd HH:mm:ss} %-5level %msg%n | |||||
</pattern> | |||||
</encoder> | |||||
</appender> | |||||
<root> | |||||
<level value="INFO"/> | |||||
<appender-ref ref="CONSOLE"/> | |||||
</root> | |||||
<logger name="ch.qos.logback"> | |||||
<level value="WARN"/> | |||||
</logger> | |||||
<logger name="okhttp3.mockwebserver"> | |||||
<level value="WARN"/> | |||||
</logger> | |||||
</configuration> |
compile 'com.google.protobuf:protobuf-java' | compile 'com.google.protobuf:protobuf-java' | ||||
compile 'org.nanohttpd:nanohttpd' | compile 'org.nanohttpd:nanohttpd' | ||||
compile project(':server:sonar-ce-task') | |||||
compile project(':server:sonar-ce-task-projectanalysis') | compile project(':server:sonar-ce-task-projectanalysis') | ||||
compile project(':server:sonar-server') | compile project(':server:sonar-server') | ||||
compile 'org.sonarsource.update-center:sonar-update-center-common' | compile 'org.sonarsource.update-center:sonar-update-center-common' | ||||
compile 'org.mindrot:jbcrypt' | compile 'org.mindrot:jbcrypt' | ||||
compile project(':server:sonar-ce-task') | |||||
compile project(':server:sonar-db-dao') | compile project(':server:sonar-db-dao') | ||||
compile project(':server:sonar-db-migration') | compile project(':server:sonar-db-migration') | ||||
compile project(':server:sonar-plugin-bridge') | compile project(':server:sonar-plugin-bridge') | ||||
testCompile 'org.eclipse.jetty:jetty-servlet' | testCompile 'org.eclipse.jetty:jetty-servlet' | ||||
testCompile 'org.hamcrest:hamcrest-all' | testCompile 'org.hamcrest:hamcrest-all' | ||||
testCompile 'org.mockito:mockito-core' | testCompile 'org.mockito:mockito-core' | ||||
testCompile 'org.reflections:reflections' | |||||
testCompile 'org.subethamail:subethasmtp' | testCompile 'org.subethamail:subethasmtp' | ||||
testCompile project(':server:sonar-db-testing') | testCompile project(':server:sonar-db-testing') | ||||
} | } |
include 'server:sonar-bitbucketcloud' | include 'server:sonar-bitbucketcloud' | ||||
include 'server:sonar-ce' | include 'server:sonar-ce' | ||||
include 'server:sonar-ce-task' | |||||
include 'server:sonar-ce-task-projectanalysis' | include 'server:sonar-ce-task-projectanalysis' | ||||
include 'server:sonar-db-testing' | include 'server:sonar-db-testing' | ||||
include 'server:sonar-db-core' | include 'server:sonar-db-core' |