blob: c5de4301b8eca0f2df2c7c54c6bddcd13883e055 (
plain)
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
|
sonar {
properties {
property 'sonar.projectName', "${projectTitle} :: Database Core"
}
}
dependencies {
// please keep the list grouped by configuration and ordered by name
api 'ch.qos.logback:logback-classic'
api 'ch.qos.logback:logback-core'
api 'com.google.guava:guava'
api 'commons-io:commons-io'
api 'org.apache.commons:commons-lang3'
api 'com.zaxxer:HikariCP'
api 'org.mybatis:mybatis'
api 'org.slf4j:slf4j-api'
api 'org.sonarsource.api.plugin:sonar-plugin-api'
api project(':server:sonar-process')
api project(':sonar-plugin-api-impl')
compileOnlyApi 'com.google.code.findbugs:jsr305'
testImplementation 'com.google.code.findbugs:jsr305'
testImplementation 'com.h2database:h2'
testImplementation 'com.microsoft.sqlserver:mssql-jdbc'
testImplementation 'com.oracle.database.jdbc:ojdbc11'
testImplementation 'com.tngtech.java:junit-dataprovider'
testImplementation 'org.junit.jupiter:junit-jupiter-api'
testImplementation 'org.mockito:mockito-core'
testImplementation 'org.postgresql:postgresql'
testImplementation 'org.sonarsource.api.plugin:sonar-plugin-api-test-fixtures'
testImplementation project(':sonar-testing-harness')
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
testRuntimeOnly 'org.junit.vintage:junit-vintage-engine'
testRuntimeOnly 'com.h2database:h2'
testRuntimeOnly 'com.microsoft.sqlserver:mssql-jdbc'
testRuntimeOnly 'com.oracle.database.jdbc:ojdbc11'
testRuntimeOnly 'org.postgresql:postgresql'
testFixturesApi 'commons-dbutils:commons-dbutils'
testFixturesApi 'junit:junit'
testFixturesApi 'org.assertj:assertj-core'
testFixturesApi 'org.apache.commons:commons-collections4'
testFixturesImplementation 'com.oracle.database.jdbc:ojdbc11'
testFixturesImplementation 'org.junit.jupiter:junit-jupiter-api'
testFixturesCompileOnly 'com.google.code.findbugs:jsr305'
}
test {
useJUnitPlatform()
if (System.hasProperty('orchestrator.configUrl'))
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
}
}
}
}
|