12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- configurations {
- testImplementation.extendsFrom(compileOnlyApi)
- }
-
- dependencies {
- api 'com.google.guava:guava'
- api 'commons-io:commons-io'
- api 'commons-lang:commons-lang'
- api 'org.apache.commons:commons-csv'
-
- compileOnlyApi 'com.google.code.findbugs:jsr305'
- compileOnlyApi 'org.sonarsource.api.plugin:sonar-plugin-api'
-
- testImplementation 'junit:junit'
- testImplementation 'org.assertj:assertj-core'
- testImplementation 'org.mockito:mockito-core'
- testImplementation project(':sonar-plugin-api-impl')
- }
-
- jar {
- manifest {
- attributes(
- 'Plugin-Key': 'xoo',
- 'Plugin-Version': project.version,
- 'Plugin-Class': 'org.sonar.xoo.XooPlugin',
- 'Plugin-ChildFirstClassLoader': 'false',
- 'Sonar-Version': project.version,
- 'SonarLint-Supported': 'true',
- 'Plugin-Name': 'Xoo'
- )
- }
- into('META-INF/lib') {
- from configurations.compileClasspath
- }
- }
-
- artifactoryPublish.skip = false
-
- publishing {
- publications {
- mavenJava(MavenPublication) {
- from components.java
- if (release) {
- artifact sourcesJar
- artifact javadocJar
- }
- }
- }
- }
|