12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- configurations {
- testImplementation.extendsFrom(compileOnly)
- }
-
- dependencies {
- compileOnly 'org.sonarsource.api.plugin:sonar-plugin-api'
-
- testCompile 'junit:junit'
- testCompile 'org.assertj:assertj-core'
- testCompile 'org.mockito:mockito-core'
- testCompile project(':sonar-plugin-api-impl')
- }
-
- jar {
- manifest {
- attributes(
- 'Plugin-Key': 'education',
- 'Plugin-Version': project.version,
- 'Plugin-Class': 'org.sonar.education.EducationPlugin',
- 'Plugin-ChildFirstClassLoader': 'false',
- 'Sonar-Version': project.version,
- 'SonarLint-Supported': 'true',
- 'Plugin-Name': 'Education'
- )
- }
- into('META-INF/lib') {
- from configurations.compileClasspath
- }
- }
-
- artifactoryPublish.skip = false
-
- publishing {
- publications {
- mavenJava(MavenPublication) {
- from components.java
- if (release) {
- artifact sourcesJar
- artifact javadocJar
- }
- }
- }
- }
|