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
54 changes: 54 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle

name: Java CI with Gradle

on:
push:
branches: [ "JA-100" ]
pull_request:
branches: [ "JA-100" ]

jobs:
build:

runs-on: ubuntu-latest
permissions:
contents: read

steps:
- uses: actions/checkout@v4
- name: Set up JDK 8
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'temurin'

# Configure Gradle for optimal use in GiHub Actions, including caching of downloaded dependencies.
# See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md
# - name: Setup Gradle
# uses: gradle/actions/setup-gradle@ec92e829475ac0c2315ea8f9eced72db85bb337a # v3.0.0

# - name: Make gradlew executable
# run: chmod +x ./ShimmerDriver/gradlew

# - name: Build with Gradle Wrapper
# run: ./ShimmerDriver/gradlew build

# NOTE: The Gradle Wrapper is the default and recommended way to run Gradle (https://docs.gradle.org/current/userguide/gradle_wrapper.html).
# If your project does not have the Gradle Wrapper configured, you can use the following configuration to run Gradle with a specified version.
#
- name: Setup Gradle
uses: gradle/actions/setup-gradle@ec92e829475ac0c2315ea8f9eced72db85bb337a # v3.0.0
with:
gradle-version: '5.6.3'
- name: Build with Gradle 5.6.3
run: |
cd ShimmerDriver
gradle build -i


2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Shimmer-Java-Android-API

Note the gradle.properties file which hold jfrog credentials is a part of the project, this is important if we ever decide to make this project public

Rev 3.00
- Change to Handler MSGs

Expand Down
7 changes: 7 additions & 0 deletions ShimmerDriver/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ publishing {
}
*/

test {
//exclude '**/*'
exclude 'com/shimmerresearch/driver/API_00005_Suite_ShimmerDriver.class'
exclude 'com/shimmerresearch/algorithms/API_00002_Filters.class'
exclude 'com/shimmerresearch/verisense/communication/API_00003_VerisenseProtocolByteCommunicationTest.class'
}

publishing {
publications {
mavenJava(MavenPublication) {
Expand Down