File: rebuild-with-local-plugin

package info (click to toggle)
bnd 3.5.0-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 26,564 kB
  • sloc: java: 136,360; xml: 54,643; sh: 408; makefile: 64
file content (19 lines) | stat: -rwxr-xr-x 676 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env bash

##############################################################################
##
## Rebuild using the locally built bnd gradle plugin
##
## Since this will use the gradle plugin in dist/bundles, your gradle tasks
## must not include :biz.aQute.bnd.gradle:release which will attempt to
## overwrite the plugin being used for the build.
##
##############################################################################
REPO=$(dirname ${BASH_SOURCE[0]})
ARGS="$@"
if [ -z "$ARGS" ]; then
  ARGS="--rerun-tasks :build"
fi

echo $REPO/gradlew --no-daemon -Pbnd_repourl=$REPO/dist/bundles $ARGS
$REPO/gradlew --no-daemon -Pbnd_repourl=$REPO/dist/bundles $ARGS