Skip to content

support custom Sonatype hosts through Gradle property (#840) #1624

support custom Sonatype hosts through Gradle property (#840)

support custom Sonatype hosts through Gradle property (#840) #1624

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
jobs:
build:
name: JDK ${{ matrix.java_version }}, Config ${{ matrix.test_config_method }}
runs-on: ubuntu-latest
strategy:
matrix:
java_version: [11, 17, 21]
test_config_method: ["DSL", "PROPERTIES", "BASE"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install JDK ${{ matrix.java_version }}
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: ${{ matrix.java_version }}
- name: Accept Android SDK license
run: yes | "$ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager" --licenses
- uses: gradle/actions/setup-gradle@v4
- name: Build with Gradle
run: ./gradlew build --stacktrace -DtestConfigMethod=${{ matrix.test_config_method }}