Skip to content

Commit f1483bc

Browse files
committed
always produce a jar
1 parent 947d10f commit f1483bc

File tree

3 files changed

+1
-9
lines changed

3 files changed

+1
-9
lines changed

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def configurePom(def pom) {
7171
name rootProject.name
7272
description 'MongoDB Persistor Module for Vert.x'
7373
inceptionYear '2012'
74-
packaging produceJar == 'false' ? 'pom' : 'jar'
74+
packaging 'jar'
7575
url 'https://github.com/vert-x/mod-mongo-persistor'
7676

7777
developers {

gradle.properties

-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ mongoVersion=2.11.1
1515
# Set to true if you want module dependencies to be pulled in and nested inside the module itself
1616
pullInDeps=false
1717

18-
# Set to true if you want the build to output a jar as well as a module zip file
19-
produceJar=false
20-
2118
gradleVersion=1.5
2219
vertxVersion=2.0.0-CR2
2320
toolsVersion=2.0.0-CR2

gradle/vertx.gradle

-5
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,6 @@ targetCompatibility = '1.7'
4343

4444
project.ext.moduleName = "$modowner~$modname~$version"
4545

46-
if (produceJar == 'false') {
47-
jar.enabled = false
48-
assert configurations.archives.artifacts.removeAll { it.file == jar.archivePath }
49-
}
50-
5146
configurations {
5247
provided
5348
testCompile.extendsFrom provided

0 commit comments

Comments
 (0)