Skip to content

Commit

Permalink
docs: Use reload4j in the example instead of log4j (quarkusio#1266)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmini authored Feb 28, 2022
1 parent ef36242 commit 5f903c5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/modules/ROOT/pages/dependencies.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ To specify dependencies you use gradle-style locators or links to Git sources. B
----
///usr/bin/env jbang "$0" "$@" ; exit $?
// <.>
//DEPS log4j:log4j:1.2.17
//DEPS ch.qos.reload4j:reload4j:1.2.19
import static java.lang.System.out;
Expand Down Expand Up @@ -52,7 +52,7 @@ Now when you run this, the first time with no existing dependencies installed yo
----
$ ./classpath_example.java
[jbang] Resolving dependencies...
[jbang] Resolving log4j:log4j:1.2.17...Done
[jbang] Resolving ch.qos.reload4j:reload4j:1.2.19...Done
[jbang] Dependencies resolved
0 [main] INFO classpath_example - Welcome to jbang
1 [main] INFO classpath_example - Hello from Java!
Expand Down Expand Up @@ -188,7 +188,7 @@ import groovy.lang.GrabResolver;
@GrabResolver(name='acme', root='https://maven.acme.local/maven')
@Grapes({ // <.>
@Grab(group="org.codehaus.groovy", module="groovy", version="2.5.8"), // <.>
@Grab(module = "log4j", group = "log4j", version = "1.2.17")
@Grab(group = "ch.qos.reload4j", module = "reload4j", version = "1.2.19")
})
class classpath_example {
Expand Down

0 comments on commit 5f903c5

Please sign in to comment.