Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
java: [8, 11]
steps:
- uses: actions/checkout@v2

- name: Fetch git tags
run: ./.github/fetch_to_tag.sh

# Our build uses JDK7's rt.jar to make sure the artifact is fully
# compatible with Java 7, so we let this action set Java 7 up for us
# and we store its JAVA_HOME
Expand All @@ -29,6 +29,14 @@ jobs:
- name: Capture JDK7_HOME
run: echo "export JDK7_HOME=\"$JAVA_HOME\"" > ~/.jdk7_home

- name: Set up Java 17 (needed for Spring Boot 3)
uses: actions/setup-java@v1
with:
java-version: 17

- name: Capture JDK17_HOME
run: echo "export JDK17_HOME=\"$JAVA_HOME\"" > ~/.jdk17_home

# This is the JDK that'll run the build
- name: Set up Java ${{ matrix.java }}
uses: actions/setup-java@v1
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,5 @@ atlassian-ide-plugin.xml

# Local gradle properties
local.properties

bin/
7 changes: 3 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ buildscript {
dependencies {
classpath "de.marcphilipp.gradle:nexus-publish-plugin:0.4.0"
classpath "io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.21.2"
classpath "gradle.plugin.com.github.spotbugs.snom:spotbugs-gradle-plugin:4.2.4"
classpath "com.github.spotbugs.snom:spotbugs-gradle-plugin:4.8.0"
classpath "com.palantir.gradle.revapi:gradle-revapi:1.4.4"
}
}
Expand Down Expand Up @@ -40,7 +40,7 @@ subprojects { project ->
apply from: "$rootDir/gradle/release.gradle"

apply from: "$rootDir/gradle/quality.gradle"

apply from: "$rootDir/gradle/compatibility.gradle"

repositories {
Expand Down Expand Up @@ -87,9 +87,8 @@ subprojects { project ->
}
}
}

}

wrapper {
gradleVersion = '6.6'
gradleVersion = '6.9.4'
}
27 changes: 27 additions & 0 deletions examples/rollbar-spring-boot3-webmvc/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
plugins {
id 'java'
id 'org.springframework.boot' version '3.0.3'
id 'io.spring.dependency-management' version '1.1.0'
}

group = 'com.rollbar.example'
version = VERSION_NAME
sourceCompatibility = '17'

repositories {
mavenLocal()
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots/'
}
mavenCentral()
}

dependencies {
implementation group: 'com.rollbar', name: 'rollbar-spring-boot3-webmvc', version: VERSION_NAME, changing: true
implementation 'org.springframework.boot:spring-boot-starter-web'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}

tasks.named('test') {
useJUnitPlatform()
}
1 change: 1 addition & 0 deletions examples/rollbar-spring-boot3-webmvc/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
240 changes: 240 additions & 0 deletions examples/rollbar-spring-boot3-webmvc/gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions examples/rollbar-spring-boot3-webmvc/settings.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rootProject.name = "rollbar-rollbar-spring-boot3-webmvc-example"
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package com.example.springbootwebmvc;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class ExampleApplication {
/**
* Starts the Spring boot application.
*/
public static void main(String[] args) {
SpringApplication.run(ExampleApplication.class, args);
}
}
Loading