Skip to content

Commit

Permalink
Merge pull request #85 from sakata1222/chore/revise-example
Browse files Browse the repository at this point in the history
chore: revise sample project
  • Loading branch information
sakata1222 authored Mar 28, 2024
2 parents 66154b6 + e5def66 commit e0f13a9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
9 changes: 4 additions & 5 deletions example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,14 @@ repositories {

dependencies {
// This dependency is used by the application.
implementation 'com.google.guava:guava:29.0-jre'
implementation group: 'org.slf4j', name: 'slf4j-api', version: '2.0.0-alpha1'
implementation group: 'ch.qos.logback', name: 'logback-classic', version: '1.3.0-alpha5'
implementation group: 'org.slf4j', name: 'slf4j-api', version: '2.0.12'
implementation group: 'ch.qos.logback', name: 'logback-classic', version: '1.5.3'

// Use JUnit Jupiter API for testing.
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.2'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.2'

// Use JUnit Jupiter Engine for testing.
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.6.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.2'
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ public String getGreeting(
}

public static void main(String[] args) {
LOGGER.info(new App().getGreeting(args));
LOGGER.atInfo()
.setMessage("{}")
.addArgument(() -> new App().getGreeting(args));
}
}

0 comments on commit e0f13a9

Please sign in to comment.