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

Integrate Vehicle Model Generation and kuksa-java-sdk #2

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
58860ba
feature: Add vss-processor-plugin and vss-processor Modules
wba2hi Dec 17, 2024
51d0aec
docs: Add Samples
wba2hi Jan 6, 2025
a0dd056
chore: Change Package from kuksa to velocitas
wba2hi Jan 6, 2025
9054070
chore: Add Repository for Sonatype
wba2hi Jan 6, 2025
aca06f8
docs: Add Documentation about VSS Model Generation
wba2hi Jan 7, 2025
efdf86d
feature: Integrate kuksa-java-sdk
wba2hi Jan 8, 2025
b550539
chore: Remove kuksa.val.v2 Protos and Protobuf related Code
wba2hi Jan 15, 2025
f12f541
chore: Adapt Documentation
wba2hi Jan 15, 2025
28bbbe1
chore: Use Release Version of kuksa-java-sdk:0.3.1
wba2hi Jan 15, 2025
4aa05c5
chore: Rename Offline Artifact
wba2hi Jan 15, 2025
2248e96
chore: Add Dash Check
wba2hi Jan 15, 2025
5b6a4dc
chore: Remove Workflow breaking Copyright
wba2hi Jan 15, 2025
1f41ac2
feature: Remove vss-processor and move Code Generation to vss-process…
wba2hi Jan 17, 2025
fd09176
chore: Remove test-core and align Tests
wba2hi Jan 17, 2025
3d8ec31
chore: Add Run Configurations for Tests and Sample App
wba2hi Jan 17, 2025
13f5485
chore: Align OSSRH Organisational Secret Variables
wba2hi Jan 17, 2025
b338997
chore: Remove unused Kotest Tags
wba2hi Jan 17, 2025
1b71e4b
chore: Adapt Description in Readme.md
wba2hi Jan 17, 2025
27fe38d
chore: Remove redundant Plugin Tag
wba2hi Jan 17, 2025
55f89cc
chore: Minor Code Changes
wba2hi Jan 17, 2025
ea4864b
chore: Add GeneratedCode Path to main SrcSets for Android Projects
wba2hi Jan 24, 2025
79c7db4
chore: Allow Android-specific "check" Task to be optional
wba2hi Jan 24, 2025
d5c00f1
chore: Add different Sample Projects
wba2hi Jan 24, 2025
222789c
chore: Exclude redundant Annotations Api from SDK
wba2hi Jan 24, 2025
235cd8b
chore: Adapt Tests
wba2hi Jan 24, 2025
74ded20
chore: Disable Functional Tests
wba2hi Jan 27, 2025
fa4e6b4
chore: Re-Generate .lockfiles
wba2hi Jan 27, 2025
20d5726
chore: Delete and Re-Generate gradle .lockfiles
wba2hi Jan 27, 2025
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
27 changes: 27 additions & 0 deletions .github/workflows/dash.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Dash License Check

on:
pull_request

jobs:
check-dash:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3

- name: Create Dash Dependency Report
run: ./gradlew mergeDashFiles

- name: Dash license check
uses: eclipse-kuksa/kuksa-actions/check-dash@4
with:
dashinput: ${{github.workspace}}/build/oss/all/all-dependencies.txt
37 changes: 37 additions & 0 deletions .github/workflows/deploy-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Deploy Release SDK

concurrency: production

on:
push:
tags:
- 'release/v*'

jobs:
deployment:
if: github.repository == 'eclipse-velocitas/vehicle-app-java-sdk'
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Project
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

- name: Set Release Version
run: ./gradlew setReleaseVersion # Do not chain this command because it writes into a file which needs to be re-read inside the next gradle command

- name: Publish Library
env:
ORG_GPG_KEY_ID: ${{ secrets.GPG_SUBKEY_ID }}
ORG_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
ORG_GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
ORG_OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
ORG_OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
run: ./gradlew publishAllPublicationsToOSSRHReleaseRepository
40 changes: 40 additions & 0 deletions .github/workflows/deploy-snapshot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Deploy Snapshot SDK

concurrency: snapshot

on:
push:
branches:
- main

jobs:
deployment:
if: github.repository == 'eclipse-velocitas/vehicle-app-java-sdk'
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Project
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

- name: Update Version
run: npm run bump-release # Updates the semantic version depending on the last commits e.g. feature / bugfix

- name: Set Snapshot Version
run: ./gradlew setSnapshotVersion # Do not chain this command because it writes into a file which needs to be re-read inside the next gradle command

- name: Publish Library
env:
ORG_GPG_KEY_ID: ${{ secrets.GPG_SUBKEY_ID }}
ORG_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
ORG_GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
ORG_OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
ORG_OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
run: ./gradlew publishAllPublicationsToOSSRHSnapshotRepository
5 changes: 4 additions & 1 deletion .github/workflows/localversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: vehicle-app-kotlin-template
name: vehicle-app-java-sdk
include-hidden-files: true
path: |
./**
Expand All @@ -45,3 +45,6 @@ jobs:
!.github
!.git
!.gitignore
!node_modules
!package.json
!package-lock.json
24 changes: 24 additions & 0 deletions .run/All Tests.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="All Tests" type="GradleRunConfiguration" factoryName="Gradle">
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="" />
<option name="taskDescriptions">
<list />
</option>
<option name="taskNames">
<list>
<option value="test" />
</list>
</option>
<option name="vmOptions" />
</ExternalSystemSettings>
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
<DebugAllEnabled>false</DebugAllEnabled>
<RunAsTest>false</RunAsTest>
<method v="2" />
</configuration>
</component>
29 changes: 29 additions & 0 deletions .run/Functional Tests.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Functional Tests" type="GradleRunConfiguration" factoryName="Gradle">
<ExternalSystemSettings>
<option name="env">
<map>
<entry key="-Dkotest.tags" value="&quot;Functional&quot;" />
</map>
</option>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="" />
<option name="taskDescriptions">
<list />
</option>
<option name="taskNames">
<list>
<option value="test" />
</list>
</option>
<option name="vmOptions" />
</ExternalSystemSettings>
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
<DebugAllEnabled>false</DebugAllEnabled>
<RunAsTest>false</RunAsTest>
<method v="2" />
</configuration>
</component>
11 changes: 11 additions & 0 deletions .run/MainKt.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="MainKt" type="JetRunConfigurationType" nameIsGenerated="true">
<option name="MAIN_CLASS_NAME" value="com.example.java.app.MainKt" />
<module name="vehicle-app-java-sdk.samples.java-app.main" />
<shortenClasspath name="NONE" />
<method v="2">
<option name="Make" enabled="true" />
<option name="Gradle.BeforeRunTask" enabled="true" tasks="installDist" externalProjectPath="$PROJECT_DIR$/samples/java-app" vmOptions="" scriptParameters="" />
</method>
</configuration>
</component>
29 changes: 29 additions & 0 deletions .run/Unit Tests.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Unit Tests" type="GradleRunConfiguration" factoryName="Gradle">
<ExternalSystemSettings>
<option name="env">
<map>
<entry key="-Dkotest.tags" value="&quot;Unit&quot;" />
</map>
</option>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="" />
<option name="taskDescriptions">
<list />
</option>
<option name="taskNames">
<list>
<option value="test" />
</list>
</option>
<option name="vmOptions" />
</ExternalSystemSettings>
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
<DebugAllEnabled>false</DebugAllEnabled>
<RunAsTest>false</RunAsTest>
<method v="2" />
</configuration>
</component>
Loading
Loading