Skip to content

Commit

Permalink
Remove useKsp flag for kapt
Browse files Browse the repository at this point in the history
It looks like it runs ksp anyway if the property is there
  • Loading branch information
oas004 committed Sep 28, 2022
1 parent 48ac6c6 commit aa46317
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
api-level: ${{ matrix.api-level }}
target: ${{ matrix.target }}
arch: x86_64
script: ./gradlew connectedCheck --no-daemon --stacktrace -PuseKsp=false
script: ./gradlew connectedCheck --no-daemon --stacktrace

- name: Run UI Tests w/ KSP
uses: reactivecircus/android-emulator-runner@v2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,6 @@ class ShowkaseProcessor @JvmOverloads constructor(

// This is for getting custom annotations from the supported types.
val customAnnotationMetadata = processCustomAnnotation(roundEnvironment)
previewComposablesMetadata.forEach {

//writeDebugFile(it.showkaseName)
}


return (
showkaseComposablesMetadata +
Expand Down Expand Up @@ -364,13 +359,12 @@ class ShowkaseProcessor @JvmOverloads constructor(
if (rootElement != null) {
// This is the module that should aggregate all the other metadata files and
// also use the showkaseMetadata set from the current round to write the final file.
showkaseProcessorMetadata =
writeShowkaseFiles(
rootElement,
componentMetadata,
colorMetadata,
typographyMetadata
)
showkaseProcessorMetadata = writeShowkaseFiles(
rootElement,
componentMetadata,
colorMetadata,
typographyMetadata
)

}

Expand Down

0 comments on commit aa46317

Please sign in to comment.