Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install required Android platform. #317

Merged
merged 3 commits into from
Aug 12, 2024
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
14 changes: 12 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ jobs:
- name: Environment info
run: |
./gradlew --version
echo ANDROID_SDK_ROOT: ${ANDROID_SDK_ROOT}
${ANDROID_SDK_ROOT}/tools/bin/sdkmanager --version
echo JAVA_HOME: ${JAVA_HOME}
java -version
javac -version
echo ANDROID_HOME: ${ANDROID_HOME}
echo ANDROID_SDK_ROOT: ${ANDROID_SDK_ROOT}

- name: Build
run: 'source ~/.jdk7_home && ./gradlew clean build'
Expand All @@ -84,6 +84,16 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Set up Java 11 for the Android SDK Manager
uses: actions/setup-java@v1
with:
java-version: 11

- name: Install Android SDK
run: |
echo "Android SDK Manager version: `${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --version`"
${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager "platforms;android-27" "build-tools;28.0.3"

- name: Set up Java 7
uses: actions/setup-java@v1
with:
Expand Down
1 change: 0 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ allprojects {
repositories {
google()
mavenCentral()
jcenter()
}
}

Expand Down
1 change: 0 additions & 1 deletion examples/rollbar-android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ buildscript {
repositories {
google()
mavenCentral()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.2'
Expand Down
2 changes: 1 addition & 1 deletion examples/rollbar-spring-webmvc/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
buildscript {
repositories {
jcenter()
mavenCentral()
}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion examples/rollbar-struts2-spring/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
buildscript {
repositories {
jcenter()
mavenCentral()
}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion examples/rollbar-struts2/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
buildscript {
repositories {
jcenter()
mavenCentral()
}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion examples/rollbar-web/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
buildscript {
repositories {
jcenter()
mavenCentral()
}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION_NAME=1.10.1-SNAPSHOT
VERSION_NAME=1.10.2-SNAPSHOT
GROUP=com.rollbar

POM_DESCRIPTION=For connecting your applications built on the JVM to Rollbar for Error Reporting
Expand Down
3 changes: 1 addition & 2 deletions rollbar-android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ buildscript {
repositories {
google()
mavenCentral()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.2'
Expand All @@ -11,7 +10,7 @@ buildscript {

repositories {
google()
jcenter()
mavenCentral()
}

apply plugin: 'com.android.library'
Expand Down
Loading