Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
Choose a Base Repository
vert-x/mod-mongo-persistor
02annouser/mod-mongo-persistor
CNXTEoEorg/mod-mongo-persistor
DonChillow/mod-mongo-persistor
FaKod/mod-mongo-persistor
HwangJaeSuk/mod-mongo-persistor
Narigo/mod-mongo-persistor
RichardWarburton/mod-mongo-persistor
Voxelot/mod-mongo-persistor
adaher/mod-mongo-persistor
afterlastangel/mod-mongo-persistor
ajunge/mod-mongo-persistor
aldrinm/mod-mongo-persistor
alexgraul/mod-mongo-persistor
amrsantos/mod-mongo-persistor
aschrijver/mod-mongo-persistor
binarytemple/mod-mongo-persistor
bytor99999/mod-mongo-persistor
carchrae/mod-mongo-persistor
colinjschmidt/mod-mongo-persistor
cybo42/mod-mongo-persistor
day-me-an/mod-mongo-persistor
dboissin/mod-mongo-persistor
dragisha/mod-mongo-persistor
ekskimn/mod-mongo-persistor
fabioruggiero/mod-mongo-persistor
gfelipe/mod-mongo-persistor
guibarbier/mod-mongo-persistor
gyszalai/mod-mongo-persistor
haghard/mod-mongo-persistor
hgao71/mod-mongo-persistor
hhywangwei/mod-mongo-persistor
itssasanka/mod-mongo-persistor
jClarity/mod-mongo-persistor
jamiepg1/mod-mongo-persistor
jasonparekh/mod-mongo-persistor
jhanzair/mod-mongo-persistor
jkeys089/mod-mongo-persistor
jleo/mod-mongo-persistor
johnoliver/mod-mongo-persistor
jtruelove/mod-mongo-persistor
jvmvik/mod-mongo-persistor
jyemin/mod-mongo-persistor
kajmagnus79/mod-mongo-persistor
karianna/mod-mongo-persistor
keesun/mod-mongo-persistor
khoinguyen/mod-mongo-persistor
kipid/mod-mongo-persistor
kripainc/mod-mongo-persistor
lloydaduke/mod-mongo-persistor
lstachowiak/mod-mongo-persistor
mattyb678/mod-mongo-persistor
meepeek/mod-mongo-persistor
meez/mod-mongo-persistor
metanet/mod-mongo-persistor
milton-loayza-tierconnect-com/mod-mongo-persistor
nachivpn/mod-mongo-persistor
nscavell/mod-mongo-persistor
olim7t/mod-mongo-persistor
parroit/mod-alchemy-persistor
pidster/mod-mongo-persistor
plenderyou/mod-mongo-persistor
ricardolonga/mod-mongo-persistor
rscorer/mod-mongo-persistor
rworsnop/mod-mongo-persistor
sauravgarg/mod-mongo-persistor
sharper/mod-mongo-persistor
sramki/mod-mongo-persistor
stevemenke/mod-mongo-persistor
sunithakarthikeyan/mod-mongo-persistor
syklevin/mod-mongo-persistor
thokari/mod-mongo-persistor
tramonex-dave/mod-mongo-persistor
trepidacious/mod-mongo-persistor
uric/mod-mongo-persistor
vash000/mod-mongo-persistor
victorbriz/mod-mongo-persistor
voyages-sncf-technologies/mod-mongo-persistor
weaver-viii/mod-mongo-persistor
whatevercode/mod-mongo-persistor
yacineben/mod-mongo-persistor
zdanek/mod-mongo-persistor
zilet/mod-mongo-persistor
Nothing to show
Choose a base branch
...
Choose a Head Repository
vert-x/mod-mongo-persistor
02annouser/mod-mongo-persistor
CNXTEoEorg/mod-mongo-persistor
DonChillow/mod-mongo-persistor
FaKod/mod-mongo-persistor
HwangJaeSuk/mod-mongo-persistor
Narigo/mod-mongo-persistor
RichardWarburton/mod-mongo-persistor
Voxelot/mod-mongo-persistor
adaher/mod-mongo-persistor
afterlastangel/mod-mongo-persistor
ajunge/mod-mongo-persistor
aldrinm/mod-mongo-persistor
alexgraul/mod-mongo-persistor
amrsantos/mod-mongo-persistor
aschrijver/mod-mongo-persistor
binarytemple/mod-mongo-persistor
bytor99999/mod-mongo-persistor
carchrae/mod-mongo-persistor
colinjschmidt/mod-mongo-persistor
cybo42/mod-mongo-persistor
day-me-an/mod-mongo-persistor
dboissin/mod-mongo-persistor
dragisha/mod-mongo-persistor
ekskimn/mod-mongo-persistor
fabioruggiero/mod-mongo-persistor
gfelipe/mod-mongo-persistor
guibarbier/mod-mongo-persistor
gyszalai/mod-mongo-persistor
haghard/mod-mongo-persistor
hgao71/mod-mongo-persistor
hhywangwei/mod-mongo-persistor
itssasanka/mod-mongo-persistor
jClarity/mod-mongo-persistor
jamiepg1/mod-mongo-persistor
jasonparekh/mod-mongo-persistor
jhanzair/mod-mongo-persistor
jkeys089/mod-mongo-persistor
jleo/mod-mongo-persistor
johnoliver/mod-mongo-persistor
jtruelove/mod-mongo-persistor
jvmvik/mod-mongo-persistor
jyemin/mod-mongo-persistor
kajmagnus79/mod-mongo-persistor
karianna/mod-mongo-persistor
keesun/mod-mongo-persistor
khoinguyen/mod-mongo-persistor
kipid/mod-mongo-persistor
kripainc/mod-mongo-persistor
lloydaduke/mod-mongo-persistor
lstachowiak/mod-mongo-persistor
mattyb678/mod-mongo-persistor
meepeek/mod-mongo-persistor
meez/mod-mongo-persistor
metanet/mod-mongo-persistor
milton-loayza-tierconnect-com/mod-mongo-persistor
nachivpn/mod-mongo-persistor
nscavell/mod-mongo-persistor
olim7t/mod-mongo-persistor
parroit/mod-alchemy-persistor
pidster/mod-mongo-persistor
plenderyou/mod-mongo-persistor
ricardolonga/mod-mongo-persistor
rscorer/mod-mongo-persistor
rworsnop/mod-mongo-persistor
sauravgarg/mod-mongo-persistor
sharper/mod-mongo-persistor
sramki/mod-mongo-persistor
stevemenke/mod-mongo-persistor
sunithakarthikeyan/mod-mongo-persistor
syklevin/mod-mongo-persistor
thokari/mod-mongo-persistor
tramonex-dave/mod-mongo-persistor
trepidacious/mod-mongo-persistor
uric/mod-mongo-persistor
vash000/mod-mongo-persistor
victorbriz/mod-mongo-persistor
voyages-sncf-technologies/mod-mongo-persistor
weaver-viii/mod-mongo-persistor
whatevercode/mod-mongo-persistor
yacineben/mod-mongo-persistor
zdanek/mod-mongo-persistor
zilet/mod-mongo-persistor
Nothing to show
Choose a head branch
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Showing with 34 additions and 2 deletions.
  1. +34 −2 build.gradle
View
@@ -27,8 +27,15 @@ buildscript {
apply from: 'gradle/setup.gradle'
apply plugin: 'java'
-apply plugin: 'vertx' // configures the test classpath correctly and adds busmod packaging
-apply plugin: 'vertx-rhino'
+// apply plugin: 'vertx' // configures the test classpath correctly and adds busmod packaging
+// apply plugin: 'vertx-rhino'
+
+configurations {
+ vertxProvided {
+ visible = false
+ transitive = false
+ }
+}
defaultTasks = ['assemble']
@@ -60,13 +67,38 @@ dependencies {
testCompile "junit:junit:$junitVersion"
}
+sourceSets.main.compileClasspath = sourceSets.main.compileClasspath.plus configurations.vertxProvided
+sourceSets.main.runtimeClasspath = sourceSets.main.runtimeClasspath.minus configurations.vertxProvided
+sourceSets.test.compileClasspath = sourceSets.test.compileClasspath.plus configurations.vertxProvided
+
test {
systemProperty 'vertx.test.timeout', 15
systemProperty 'vertx.mods', "$projectDir/build/tmp/mod-test"
systemProperty 'vertx.version', "$project.version"
testLogging.showStandardStreams = true
}
+test.classpath = test.classpath.minus sourceSets.main.runtimeClasspath
+
+task prepareVertxModule(type: Copy) {
+ description = "Assembles a vert.x module in the build/mod/${project.name.replaceFirst('mod-', '')} dir"
+ dependsOn assemble
+ destinationDir = project.file("build/mod/${project.modulename}-v${project.version}")
+
+ from(project.configurations.runtime) { into 'lib' }
+ from 'build/classes/main'
+ from 'build/resources/main'
+ from 'src/main/conf'
+}
+
+task packageVertxModule(type: Zip, dependsOn: ['prepareVertxModule']) {
+ group = 'vert.x'
+ description = "Assembles a vert.x module in 'mod.zip' format"
+ destinationDir = project.file('build/libs')
+ archiveName = 'mod.zip'
+ from project.file("build/mod")
+}
+
task prepareVertxTest(type: Sync, dependsOn: ['prepareVertxModule']) {
from 'build/mod'
into 'build/tmp/mod-test'

No commit comments for this range