Skip to content

Commit

Permalink
Merge pull request #11 from boschglobal/feature-4
Browse files Browse the repository at this point in the history
Add VSS Symbol Processing processor
  • Loading branch information
lukasmittag authored Oct 17, 2023
2 parents bfbdee2 + 972f585 commit 21460f1
Show file tree
Hide file tree
Showing 78 changed files with 19,507 additions and 491 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ local.properties

# Log/OS Files
*.log
.DS_Store

# Android Studio generated files and folders
captures/
Expand Down
23 changes: 23 additions & 0 deletions .run/All UnitTests.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="All UnitTests" 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" value="-Dkotest.tags=&quot;Unit&quot;" />
</ExternalSystemSettings>
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
<DebugAllEnabled>false</DebugAllEnabled>
<method v="2" />
</configuration>
</component>
23 changes: 23 additions & 0 deletions .run/kuksa-sdk_UnitTests.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="kuksa-sdk:UnitTests" 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=":kuksa-sdk:testDebugUnitTest" />
</list>
</option>
<option name="vmOptions" value="-Dkotest.tags=&quot;Unit&quot;" />
</ExternalSystemSettings>
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
<DebugAllEnabled>false</DebugAllEnabled>
<method v="2" />
</configuration>
</component>
23 changes: 23 additions & 0 deletions .run/kuksa-vss-core_UnitTests.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="kuksa-vss-core:UnitTests" 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=":vss-core:test" />
</list>
</option>
<option name="vmOptions" value="" />
</ExternalSystemSettings>
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
<DebugAllEnabled>false</DebugAllEnabled>
<method v="2" />
</configuration>
</component>
23 changes: 23 additions & 0 deletions .run/kuksa-vss-processor_UnitTests.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="kuksa-vss-processor:UnitTests" type="GradleRunConfiguration" factoryName="Gradle">
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$/vss-processor" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="" />
<option name="taskDescriptions">
<list />
</option>
<option name="taskNames">
<list>
<option value=":vss-processor:test" />
</list>
</option>
<option name="vmOptions" value="" />
</ExternalSystemSettings>
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
<DebugAllEnabled>false</DebugAllEnabled>
<method v="2" />
</configuration>
</component>
20 changes: 13 additions & 7 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
plugins {
id("com.android.application")
id("com.google.devtools.ksp")
kotlin("plugin.serialization")
kotlin("android")
}

android {
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
Expand All @@ -6,6 +13,7 @@ android {
kotlinOptions {
jvmTarget = libs.versions.jvmTarget.get()
}

buildFeatures {
compose = true
}
Expand Down Expand Up @@ -42,7 +50,10 @@ android {
isDebuggable = true

isMinifyEnabled = true
proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro")
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro",
)
}
}
}
Expand Down Expand Up @@ -79,14 +90,9 @@ tasks.withType<Test>().configureEach {
}
}

plugins {
id("com.android.application")
kotlin("plugin.serialization") version "1.9.0"
kotlin("android")
}

dependencies {
implementation(project(":kuksa-sdk"))
ksp(project(":vss-processor"))
testImplementation(project(":test"))

implementation(libs.androidx.appcompat)
Expand Down
Loading

0 comments on commit 21460f1

Please sign in to comment.