File tree Expand file tree Collapse file tree
sentry-kotlin-compiler-plugin Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,16 +29,14 @@ jobs:
2929 java-version : ' 17'
3030
3131 - name : Build Gradle Plugin, Kotlin Compiler Plugin, and Snapshots Runtime distribution artifacts
32- run : ./gradlew :plugin-build:assemble :sentry-kotlin-compiler-plugin:assemble :sentry-snapshots-runtime: assemble
32+ run : ./gradlew assemble
3333
3434 - name : Archive artifacts
3535 uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
3636 with :
3737 name : ${{ github.sha }}
3838 path : |
39- ${{ github.workspace }}/plugin-build/build/distributions/*.zip
40- ${{ github.workspace }}/sentry-kotlin-compiler-plugin/build/distributions/*.zip
41- ${{ github.workspace }}/sentry-snapshots-runtime/build/distributions/*.zip
39+ ./*/build/distributions/*.zip
4240
4341 - name : Verify artifact contents
4442 shell : bash
Original file line number Diff line number Diff line change @@ -39,8 +39,7 @@ allprojects {
3939
4040tasks.withType<Delete >().configureEach {
4141 delete(rootProject.buildDir)
42- dependsOn(gradle.includedBuild(" plugin-build" ).task(" :clean" ))
43- dependsOn(gradle.includedBuild(" sentry-kotlin-compiler-plugin" ).task(" :clean" ))
42+ gradle.includedBuilds.forEach { dependsOn(it.task(" :clean" )) }
4443}
4544
4645tasks.register(" integrationTest" ) {
@@ -75,11 +74,11 @@ tasks.register("preMerge") {
7574}
7675
7776tasks.named(" spotlessCheck" ) {
78- dependsOn(gradle.includedBuild(" sentry-kotlin-compiler-plugin" ).task(" :spotlessCheck" ))
79- dependsOn(gradle.includedBuild(" plugin-build" ).task(" :spotlessCheck" ))
77+ gradle.includedBuilds.forEach { dependsOn(it.task(" :spotlessCheck" )) }
8078}
8179
8280tasks.named(" spotlessApply" ) {
83- dependsOn(gradle.includedBuild(" sentry-kotlin-compiler-plugin" ).task(" :spotlessApply" ))
84- dependsOn(gradle.includedBuild(" plugin-build" ).task(" :spotlessApply" ))
81+ gradle.includedBuilds.forEach { dependsOn(it.task(" :spotlessApply" )) }
8582}
83+
84+ tasks.named(" assemble" ) { gradle.includedBuilds.forEach { dependsOn(it.task(" :assemble" )) } }
Original file line number Diff line number Diff line change @@ -41,6 +41,8 @@ tasks.named("distZip") {
4141 onlyIf { inputs.sourceFiles.isEmpty.not ().also { require(it) { " No distribution to zip." } } }
4242}
4343
44+ tasks.named(" distTar" ) { enabled = false }
45+
4446dependencies {
4547 compileOnly(libs.kotlinCompilerEmbeddable)
4648
Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ tasks.named("distZip") {
3232 onlyIf { inputs.sourceFiles.isEmpty.not ().also { require(it) { " No distribution to zip." } } }
3333}
3434
35+ tasks.named(" distTar" ) { enabled = false }
36+
3537dependencies { compileOnly(libs.androidxAnnotation) }
3638
3739plugins.withId(" com.vanniktech.maven.publish.base" ) {
You can’t perform that action at this time.
0 commit comments