Skip to content

Commit 7c20c23

Browse files
committed
Make the rollbar-java example load the agent, fix clippy lints, fix bugs
1 parent 9d445e6 commit 7c20c23

5 files changed

Lines changed: 118 additions & 123 deletions

File tree

examples/rollbar-java/build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ jar {
77

88
mainClassName = "com.rollbar.example.Application"
99

10+
applicationDefaultJvmArgs = [
11+
"-agentpath:"+System.getProperty("user.dir")+"/native-agent/target/release/librollbar_java_agent.dylib",
12+
"-XX:OnError=jstack -F -l %p"
13+
]
14+
1015
dependencies {
1116
compile project(":rollbar-java")
1217

native-agent/clippy.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
too-many-arguments-threshold = 10

0 commit comments

Comments
 (0)