diff --git a/README.md b/README.md index a1108232a5..be2d51f48e 100644 --- a/README.md +++ b/README.md @@ -87,8 +87,8 @@ To just run the Rhino shell, you can do this from the top-level directory: Alternately, you can build an all-in-one JAR and run that: - ./gradlew shadowJar - java -jar rhino/build/libs/rhino-1.7.16-SNAPSHOT.jar + ./gradlew :rhino-all:build + java -jar rhino-all/build/libs/rhino-all-1.7.16-SNAPSHOT.jar You can also run the benchmarks: diff --git a/rhino-all/build.gradle b/rhino-all/build.gradle index 07cef496ed..2a6bd4b9cb 100644 --- a/rhino-all/build.gradle +++ b/rhino-all/build.gradle @@ -27,6 +27,14 @@ shadowJar { } } +startScripts { + dependsOn 'shadowJar' +} + +startShadowScripts { + dependsOn 'jar' +} + publishing { publications { rhinoall(MavenPublication) {