Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
52 lines (39 sloc) 971 Bytes
// ./gradlew clean && ./gradlew uploadArchives -Prelease
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'idea'
repositories {
mavenCentral()
}
subprojects {
apply plugin: 'java'
apply plugin: 'idea'
group 'me.geso.jdbcquerylog'
version '0.2.0'
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
repositories {
mavenCentral()
jcenter()
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
task javadocJar(type: Jar) {
classifier = 'javadoc'
from "${buildDir}/javadoc"
}
task sourcesJar(type: Jar) {
classifier = 'sources'
from sourceSets.main.allSource
}
compileJava {
options.compilerArgs << '-XDignore.symbol.file' << '-Xlint:all'
}
artifacts {
archives javadocJar, sourcesJar
}
}
task wrapper(type: Wrapper) {
gradleVersion = '2.12'
}