22defaultTasks ' clean' , ' licenseFormat' , ' build' , ' install'
33
44// Apply plugins
5- apply plugin : ' cobertura'
6- apply plugin : ' coveralls'
5+ apply plugin : ' java'
6+ apply plugin : ' cobertura' // Coveralls dependency
7+ apply plugin : ' com.github.kt3k.coveralls'
78apply plugin : ' license'
89apply plugin : ' maven'
910apply plugin : ' signing'
1011
1112// Project information
12- ext. projectName = ' Flow Cerealization '
13+ ext. projectName = ' Flow Persistence '
1314group = ' com.flowpowered'
14- archivesBaseName = ' flow-cerealization '
15- version = ' 0.1 .0-SNAPSHOT'
15+ archivesBaseName = ' flow-persistence '
16+ version = ' 1.0 .0-SNAPSHOT'
1617ext. packaging = ' jar'
1718ext. inceptionYear = ' 2013'
18- ext. url = ' http ://flowpowered.com'
19+ ext. url = ' https ://flowpowered.com/persistence '
1920ext. description = ' Flexible serialization and configuration library for the Flow collection.'
2021
2122// Organization information
22- ext. organization = ' Spout LLC '
23- ext. organizationUrl = ' https://spout.org '
23+ ext. organization = ' Flow Powered '
24+ ext. organizationUrl = ' https://flowpowered.com '
2425
2526// Build properties
2627ext. buildNumber = project. hasProperty(' buildNumber' ) ? buildNumber : ' 0'
@@ -38,9 +39,9 @@ buildscript {
3839 }
3940 }
4041 dependencies {
41- classpath ' nl.javadude.gradle.plugins:license- gradle-plugin:0.9.0 '
42- classpath ' org.kt3k .gradle.plugin:coveralls -gradle-plugin:0.5 .0'
43- classpath ' net.saliman: gradle-cobertura- plugin:2.2.4 ' // Coveralls plugin dependency
42+ classpath ' net.saliman: gradle-cobertura- plugin:2.2.8 ' // Coveralls dependency
43+ classpath ' nl.javadude .gradle.plugins:license -gradle-plugin:0.10 .0'
44+ classpath ' org.kt3k.gradle.plugin:coveralls- gradle-plugin:2.4.0 '
4445 }
4546}
4647
@@ -57,12 +58,12 @@ repositories {
5758// Project dependencies
5859dependencies {
5960 compile ' commons-io:commons-io:2.4'
60- compile ' org.apache.commons:commons-lang3:3.3.2 '
61- compile ' org.yaml:snakeyaml:1.13 '
62- testCompile ' junit:junit:4.11 '
61+ compile ' org.apache.commons:commons-lang3:3.4 '
62+ compile ' org.yaml:snakeyaml:1.16 '
63+ testCompile ' junit:junit:4.12 '
6364 testCompile ' org.hamcrest:hamcrest-library:1.3'
64- testCompile ' org.powermock:powermock-api-mockito:1.5.5 '
65- testCompile ' org.powermock:powermock-module-junit4:1.5.5 '
65+ testCompile ' org.powermock:powermock-api-mockito:1.6.2 '
66+ testCompile ' org.powermock:powermock-module-junit4:1.6.2 '
6667}
6768
6869// Filter, process, and include resources
@@ -104,6 +105,15 @@ jar.manifest.mainAttributes(
104105 ' Specification-Version' : version + ' +' + ciSystem + ' -b' + buildNumber + ' .git-' + commit,
105106 ' Specification-Vendor' : organization + ' - ' + organizationUrl)
106107
108+ // Javadoc doclint configuration
109+ if (JavaVersion . current(). isJava8Compatible()) {
110+ allprojects {
111+ tasks. withType(Javadoc ) {
112+ options. addStringOption(' Xdoclint:none' , ' -quiet' )
113+ }
114+ }
115+ }
116+
107117// Coveralls report configuration
108118cobertura. coverageFormats = [' html' , ' xml' ] // Coveralls requires xml format
109119
@@ -162,15 +172,15 @@ uploadArchives {
162172 description project. ext. description
163173
164174 scm {
165- connection ' scm:git:git://github.com/flow/flow-cerealization .git'
166- developerConnection
' scm:git:ssh://[email protected] :flow/flow-cerealization .git' 167- url ' https://github.com/flow/flow-cerealization '
175+ connection ' scm:git:git://github.com/flow/persistence .git'
176+ developerConnection
' scm:git:ssh://[email protected] :flow/persistence .git' 177+ url ' https://github.com/flow/persistence '
168178 }
169179
170180 licenses {
171181 license {
172182 name ' MIT License'
173- url ' https://tldrlegal.com/license /mit-license '
183+ url ' https://tldrlegal.com/l /mit'
174184 distribution ' repo'
175185 }
176186 }
@@ -192,7 +202,7 @@ uploadArchives {
192202193203 }
194204 developer {
195- id ' Wulfspider '
205+ id ' lukespragg '
196206 name ' Luke Spragg'
197207198208 }
0 commit comments