forked from keir-nellyer/PluginMessageFramework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
41 lines (34 loc) · 999 Bytes
/
build.gradle
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
defaultTasks 'clean', 'build', 'test', 'publishToMavenLocal'
subprojects {
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'checkstyle'
apply plugin: 'maven-publish'
getProject().group = 'com.ikeirnez.pluginmessageframework'
getProject().version = "1.0.0-SNAPSHOT"
repositories {
mavenCentral()
mavenLocal()
}
checkstyle {
toolVersion = 6.5
configFile = new File(rootDir, "checkstyle.xml")
configProperties = [
'basedir': project.projectDir,
'suppressions': new File(rootDir, "checkstyle-suppressions.xml"),
'severity': 'warning'
]
}
tasks.jar.dependsOn "check"
compileJava {
targetCompatibility = JavaVersion.VERSION_1_7
sourceCompatibility = JavaVersion.VERSION_1_7
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}
}