Skip to content

Commit 3307ce9

Browse files
committed
Enable build scans
1 parent 90a1eb6 commit 3307ce9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Build and run tests with Gradle
4545
run: |
4646
./gradlew \
47-
-PGITHUB_PUBLISH_TOKEN=${{ secrets.GITHUB_TOKEN }} \
47+
--scan \
4848
${{ matrix.targets }}
4949
shell: bash
5050

plugins/build-plugin/src/main/kotlin/com/powersync/compile/CreateSqliteCInterop.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import org.gradle.api.tasks.Internal
88
import org.gradle.api.tasks.OutputFile
99
import org.gradle.api.tasks.TaskAction
1010
import org.gradle.work.DisableCachingByDefault
11+
import javax.inject.Inject
1112

1213
@DisableCachingByDefault(because = "not worth caching")
1314
abstract class CreateSqliteCInterop: DefaultTask() {
@@ -18,6 +19,7 @@ abstract class CreateSqliteCInterop: DefaultTask() {
1819
abstract val definitionFile: RegularFileProperty
1920

2021
@get:Internal
22+
@get:Inject
2123
abstract val layout: ProjectLayout
2224

2325
@TaskAction

0 commit comments

Comments
 (0)