46 lines
959 B
Groovy
46 lines
959 B
Groovy
|
plugins {
|
||
|
id "org.sonarqube" version '2.1-rc1'
|
||
|
}
|
||
|
|
||
|
ext {
|
||
|
user = 'jprante'
|
||
|
name = 'jacc'
|
||
|
description = 'Java implementation of Yet Another Compiler-Compiler'
|
||
|
scmUrl = 'https://github.com/' + user + '/' + name
|
||
|
scmConnection = 'scm:git:git://github.com/' + user + '/' + name + '.git'
|
||
|
scmDeveloperConnection = 'scm:git:git://github.com/' + user + '/' + name + '.git'
|
||
|
}
|
||
|
|
||
|
group = 'org.xbib'
|
||
|
version = '2.1.0'
|
||
|
|
||
|
apply plugin: 'java'
|
||
|
apply plugin: 'maven'
|
||
|
apply plugin: 'signing'
|
||
|
apply plugin: 'findbugs'
|
||
|
apply plugin: 'pmd'
|
||
|
apply plugin: 'checkstyle'
|
||
|
apply plugin: 'jacoco'
|
||
|
|
||
|
sourceCompatibility = 1.8
|
||
|
targetCompatibility = 1.8
|
||
|
|
||
|
repositories {
|
||
|
mavenCentral()
|
||
|
maven {
|
||
|
url "http://xbib.org/repository"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
configurations {
|
||
|
wagon
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
testCompile 'junit:junit:4.12'
|
||
|
wagon 'org.apache.maven.wagon:wagon-ssh-external:2.10'
|
||
|
}
|
||
|
|
||
|
apply from: 'gradle/publish.gradle'
|
||
|
apply from: 'gradle/sonarqube.gradle'
|