slackhq / slack-gradle-plugin Goto Github PK
View Code? Open in Web Editor NEWGradle and IntelliJ build tooling used in Slack's Android repo
Home Page: https://slackhq.github.io/slack-gradle-plugin
License: Apache License 2.0
Gradle and IntelliJ build tooling used in Slack's Android repo
Home Page: https://slackhq.github.io/slack-gradle-plugin
License: Apache License 2.0
Currently it just uses libs
io.reactivex.rxjava3.exceptions.OnErrorNotImplementedException: The exception was not handled due to missing onError handler in the subscribe() method call. Further reading: https://github.com/ReactiveX/RxJava/wiki/Error-Handling | java.io.FileNotFoundException: /Users/zacsweers/dev/android/personal/CatchUp/build/outputs/logs/last-build-thermals.log (No such file or directory)
at io.reactivex.rxjava3.internal.functions.Functions$OnErrorMissingConsumer.accept(Functions.java:718)
at io.reactivex.rxjava3.internal.functions.Functions$OnErrorMissingConsumer.accept(Functions.java:715)
at io.reactivex.rxjava3.internal.observers.LambdaObserver.onError(LambdaObserver.java:77)
at io.reactivex.rxjava3.internal.operators.observable.ObservableScanSeed$ScanSeedObserver.onError(ObservableScanSeed.java:118)
at io.reactivex.rxjava3.internal.operators.observable.ObservableDoOnEach$DoOnEachObserver.onError(ObservableDoOnEach.java:117)
at io.reactivex.rxjava3.internal.operators.observable.ObservableDoOnEach$DoOnEachObserver.onNext(ObservableDoOnEach.java:97)
at io.reactivex.rxjava3.internal.operators.observable.ObservableFilter$FilterObserver.onNext(ObservableFilter.java:52)
at io.reactivex.rxjava3.internal.operators.observable.ObservableMap$MapObserver.onNext(ObservableMap.java:63)
at io.reactivex.rxjava3.internal.operators.observable.ObservableInterval$IntervalObserver.run(ObservableInterval.java:82)
at io.reactivex.rxjava3.internal.schedulers.ScheduledDirectPeriodicTask.run(ScheduledDirectPeriodicTask.java:35)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.io.FileNotFoundException: /Users/zacsweers/dev/android/personal/CatchUp/build/outputs/logs/last-build-thermals.log (No such file or directory)
at java.base/java.io.FileOutputStream.open0(Native Method)
at java.base/java.io.FileOutputStream.open(FileOutputStream.java:293)
at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:235)
at kotlin.io.FilesKt__FileReadWriteKt.appendBytes(FileReadWrite.kt:115)
at kotlin.io.FilesKt__FileReadWriteKt.appendText(FileReadWrite.kt:142)
at kotlin.io.FilesKt__FileReadWriteKt.appendText$default(FileReadWrite.kt:142)
at slack.gradle.util.AppleSiliconThermals$start$4.accept(ThermalsWatcher.kt:297)
at slack.gradle.util.AppleSiliconThermals$start$4.accept(ThermalsWatcher.kt:266)
at io.reactivex.rxjava3.internal.operators.observable.ObservableDoOnEach$DoOnEachObserver.onNext(ObservableDoOnEach.java:93)
... 10 more
Exception in thread "RxComputationThreadPool-6" io.reactivex.rxjava3.exceptions.OnErrorNotImplementedException: The exception was not handled due to missing onError handler in the subscribe() method call. Further reading: https://github.com/ReactiveX/RxJava/wiki/Error-Handling | java.io.FileNotFoundException: /Users/zacsweers/dev/android/personal/CatchUp/build/outputs/logs/last-build-thermals.log (No such file or directory)
at io.reactivex.rxjava3.internal.functions.Functions$OnErrorMissingConsumer.accept(Functions.java:718)
at io.reactivex.rxjava3.internal.functions.Functions$OnErrorMissingConsumer.accept(Functions.java:715)
at io.reactivex.rxjava3.internal.observers.LambdaObserver.onError(LambdaObserver.java:77)
at io.reactivex.rxjava3.internal.operators.observable.ObservableScanSeed$ScanSeedObserver.onError(ObservableScanSeed.java:118)
at io.reactivex.rxjava3.internal.operators.observable.ObservableDoOnEach$DoOnEachObserver.onError(ObservableDoOnEach.java:117)
at io.reactivex.rxjava3.internal.operators.observable.ObservableDoOnEach$DoOnEachObserver.onNext(ObservableDoOnEach.java:97)
at io.reactivex.rxjava3.internal.operators.observable.ObservableFilter$FilterObserver.onNext(ObservableFilter.java:52)
at io.reactivex.rxjava3.internal.operators.observable.ObservableMap$MapObserver.onNext(ObservableMap.java:63)
at io.reactivex.rxjava3.internal.operators.observable.ObservableInterval$IntervalObserver.run(ObservableInterval.java:82)
at io.reactivex.rxjava3.internal.schedulers.ScheduledDirectPeriodicTask.run(ScheduledDirectPeriodicTask.java:35)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.io.FileNotFoundException: /Users/zacsweers/dev/android/personal/CatchUp/build/outputs/logs/last-build-thermals.log (No such file or directory)
at java.base/java.io.FileOutputStream.open0(Native Method)
at java.base/java.io.FileOutputStream.open(FileOutputStream.java:293)
at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:235)
at kotlin.io.FilesKt__FileReadWriteKt.appendBytes(FileReadWrite.kt:115)
at kotlin.io.FilesKt__FileReadWriteKt.appendText(FileReadWrite.kt:142)
at kotlin.io.FilesKt__FileReadWriteKt.appendText$default(FileReadWrite.kt:142)
at slack.gradle.util.AppleSiliconThermals$start$4.accept(ThermalsWatcher.kt:297)
at slack.gradle.util.AppleSiliconThermals$start$4.accept(ThermalsWatcher.kt:266)
at io.reactivex.rxjava3.internal.operators.observable.ObservableDoOnEach$DoOnEachObserver.onNext(ObservableDoOnEach.java:93)
... 10 more
Currently we keep retrying, but we should just stop trying if there's a failure at any point.
Display contextual announcements in IDE based on file, such as upcoming release trains
Add a UI component to show the next upcoming release date in IDE. On the day of launch, Skate can display a banner with the specific announcement.
Would need a structured format of some sort to read from on IDE start.
It would be cool if we could do a config to recognize certain patterns in code like our internal enum-based flags and linkify them to where they're defined on a backend server. Could work similar to how github can linkify common bugtracker IDs
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
Renovate tried to run on this repository, but found these problems.
These updates are awaiting their schedule. Click on a checkbox to get an update now.
Markdown
, MarkupSafe
, mkdocs-material
, pymdown-extensions
, termcolor
, tornado
)Warning
Renovate failed to look up the following dependencies: Failed to look up maven package com.gradle.enterprise:com.gradle.enterprise.gradle.plugin
, Failed to look up maven package com.gradle:gradle-enterprise-gradle-plugin
, Failed to look up maven package com.jraska.module.graph.assertion:plugin
, Failed to look up maven package com.sergei-lapin.napt:gradle
, Failed to look up maven package net.ltgt.gradle:gradle-nullaway-plugin
, Failed to look up maven package org.gradle:test-retry-gradle-plugin
, Failed to look up maven package com.autonomousapps.plugin-best-practices-plugin:com.autonomousapps.plugin-best-practices-plugin.gradle.plugin
, Failed to look up maven package com.github.gmazzo.buildconfig:com.github.gmazzo.buildconfig.gradle.plugin
, Failed to look up maven package dev.bmac.intellij.plugin-uploader:dev.bmac.intellij.plugin-uploader.gradle.plugin
, Failed to look up maven package com.diffplug.spotless:com.diffplug.spotless.gradle.plugin
, Failed to look up maven package com.github.ben-manes.versions:com.github.ben-manes.versions.gradle.plugin
.
Files affected: settings.gradle.kts
, gradle/libs.versions.toml
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
com.squareup.wire
, com.squareup.wire:wire-gradle-plugin
)These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.
com.squareup.okhttp3:logging-interceptor
, com.squareup.okhttp3:okhttp-bom
, com.squareup.okhttp3:okhttp
)org.jetbrains.kotlin.plugin.sam.with.receiver
, org.jetbrains.kotlin.jvm
, org.jetbrains.kotlin:kotlin-reflect
, org.jetbrains.kotlin:kotlin-bom
, org.jetbrains.kotlin:kotlin-gradle-plugin
).github/workflows/ci.yml
actions/checkout v4
gradle/wrapper-validation-action v2
actions/setup-java v4
gradle/actions v3
actions/upload-artifact v4
actions/checkout v4
actions/setup-java v4
gradle/actions v3
.github/workflows/code-review.yml
fxchen/code-review v0.2.9-alpha
.github/workflows/publish-docs.yml
actions/checkout v4
gradle/wrapper-validation-action v2
actions/setup-java v4
gradle/gradle-build-action v3
actions/setup-python v5
peaceiris/actions-gh-pages v3
.github/workflows/renovate.yml
actions/checkout v4
renovatebot/github-action v39.0.1
gradle.properties
settings.gradle.kts
com.gradle.enterprise 3.14.1
build.gradle.kts
agp-handlers/agp-handler-82/gradle.properties
agp-handlers/agp-handler-82/build.gradle.kts
agp-handlers/agp-handler-83/gradle.properties
agp-handlers/agp-handler-83/build.gradle.kts
agp-handlers/agp-handler-api/gradle.properties
agp-handlers/agp-handler-api/build.gradle.kts
gradle/libs.versions.toml
com.android.tools.build:gradle 8.2.2
com.android.tools.build:gradle 8.3.0-rc02
com.google.auto.service:auto-service-annotations 1.1.1
dev.zacsweers.autoservice:auto-service-ksp 1.1.0
com.bugsnag:bugsnag 3.7.1
com.github.ajalt.clikt:clikt 4.2.2
org.apache.commons:commons-text 1.11.0
com.slack.lint.compose:compose-lint-checks 1.3.1
com.slack.circuit:circuit-foundation 0.19.1
org.jetbrains.kotlinx:kotlinx-coroutines-bom 1.8.0
io.gitlab.arturbosch.detekt:detekt-core 1.23.5
androidx.lint:lint-gradle 1.0.0-alpha01
com.squareup.anvil:gradle-plugin 2.4.9-1-8
com.bugsnag:bugsnag-android-gradle-plugin 8.1.0
org.jetbrains.compose:compose-gradle-plugin 1.5.12
com.autonomousapps:dependency-analysis-gradle-plugin 1.30.0
io.gitlab.arturbosch.detekt:detekt-gradle-plugin 1.23.5
com.osacky.doctor:doctor-plugin 0.9.1
com.gradle:gradle-enterprise-gradle-plugin 3.16.2
net.ltgt.gradle:gradle-errorprone-plugin 3.0.1
com.jraska.module.graph.assertion:plugin 2.3.1
org.jetbrains.kotlin:kotlin-gradle-plugin 1.9.22
com.google.devtools.ksp:symbol-processing-gradle-plugin 1.9.22-1.0.17
dev.zacsweers.moshix:moshi-gradle-plugin 0.25.1
com.sergei-lapin.napt:gradle 1.16
net.ltgt.gradle:gradle-nullaway-plugin 1.3.0
dev.zacsweers.redacted:redacted-compiler-plugin-gradle 1.7.1
org.gradle:test-retry-gradle-plugin 1.5.8
com.squareup:sort-dependencies-gradle-plugin 0.6
com.diffplug.spotless:spotless-plugin-gradle 6.25.0
app.cash.sqldelight:gradle-plugin 2.0.1
com.github.ben-manes:gradle-versions-plugin 0.47.0
com.squareup.wire:wire-gradle-plugin 4.9.3
com.google.guava:guava 33.0.0-jre
com.slack.cli:kotlin-cli-util 2.6.3
org.jetbrains.kotlin:kotlin-bom 1.9.22
com.squareup:kotlinpoet 1.16.0
org.jetbrains.kotlin:kotlin-reflect 1.9.22
com.facebook:ktfmt 0.47
org.jgrapht:jgrapht-core 1.5.2
net.java.dev.jna:jna 5.14.0
net.java.dev.jna:jna-platform 5.14.0
junit:junit 4.13.2
org.jetbrains:markdown 0.6.1
com.squareup.moshi:moshi 1.15.1
com.squareup.okhttp3:okhttp 5.0.0-alpha.12
com.squareup.okhttp3:okhttp-bom 5.0.0-alpha.12
com.squareup.okhttp3:logging-interceptor 5.0.0-alpha.12
com.squareup.okio:okio 3.8.0
com.squareup.okio:okio-fakefilesystem 3.8.0
com.github.oshi:oshi-core 6.4.13
com.squareup.retrofit2:retrofit 2.9.0
com.squareup.retrofit2:converter-wire 2.9.0
io.reactivex.rxjava3:rxjava 3.1.8
com.slack.lint:slack-lint-checks 0.7.0
com.slack.lint:slack-lint-annotations 0.7.0
com.google.truth:truth 1.4.1
com.autonomousapps.plugin-best-practices-plugin 0.10
com.github.gmazzo.buildconfig 5.3.5
org.jetbrains.compose 1.5.12
com.autonomousapps.dependency-analysis 1.30.0
io.gitlab.arturbosch.detekt 1.23.5
org.jetbrains.dokka 1.9.10
org.jetbrains.intellij 1.17.0
com.google.devtools.ksp 1.9.22-1.0.17
org.jetbrains.kotlin.jvm 1.9.22
org.jetbrains.kotlin.plugin.sam.with.receiver 1.9.22
com.android.lint 8.2.2
com.vanniktech.maven.publish 0.27.0
dev.zacsweers.moshix 0.25.1
dev.bmac.intellij.plugin-uploader 1.3.2
com.diffplug.spotless 6.25.0
com.squareup.sort-dependencies 0.6
com.github.ben-manes.versions 0.47.0
com.squareup.wire 4.9.3
sgp-common/gradle.properties
sgp-common/build.gradle.kts
skate-plugin/gradle.properties
skate-plugin/build.gradle.kts
skate-plugin/artifactory-authenticator/gradle.properties
skate-plugin/artifactory-authenticator/build.gradle.kts
skippy/gradle.properties
skippy/build.gradle.kts
slack-plugin/gradle.properties
slack-plugin/build.gradle.kts
tracing/gradle.properties
tracing/build.gradle.kts
gradle/wrapper/gradle-wrapper.properties
gradle 8.6
.github/workflows/mkdocs-requirements.txt
click ==8.1.7
future ==0.18.3
Jinja2 ==3.1.3
livereload ==2.6.3
lunr ==0.7.0.post1
Markdown ==3.5.1
MarkupSafe ==2.1.3
mkdocs ==1.5.3
mkdocs-macros-plugin ==1.0.5
mkdocs-material ==9.4.14
mkdocs-material-extensions ==1.3.1
Pygments ==2.17.2
pymdown-extensions ==10.5
python-dateutil ==2.8.2
PyYAML ==6.0.1
repackage ==0.7.3
six ==1.16.0
termcolor ==2.3.0
tornado ==6.3.3
io.reactivex.rxjava3.exceptions.UndeliverableException: The exception could not be delivered to the consumer because it has already canceled/disposed the flow or the exception has nowhere to go to begin with. Further reading: https://github.com/ReactiveX/RxJava/wiki/What's-different-in-2.0#error-handling | java.lang.UnsatisfiedLinkError: Unable to load library 'thermal_state':
dlopen(libthermal_state.dylib, 0x0009): tried: 'libthermal_state.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibthermal_state.dylib' (no such file), '/Library/Java/JavaVirtualMachines/zulu-19.jdk/Contents/Home/bin/./libthermal_state.dylib' (no such file), '/Library/Java/JavaVirtualMachines/zulu-19.jdk/Contents/Home/bin/../lib/libthermal_state.dylib' (no such file), '/usr/lib/libthermal_state.dylib' (no such file, not in dyld cache), 'libthermal_state.dylib' (no such file), '/usr/lib/libthermal_state.dylib' (no such file, not in dyld cache)
dlopen(libthermal_state.dylib, 0x0009): tried: 'libthermal_state.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibthermal_state.dylib' (no such file), '/Library/Java/JavaVirtualMachines/zulu-19.jdk/Contents/Home/bin/./libthermal_state.dylib' (no such file), '/Library/Java/JavaVirtualMachines/zulu-19.jdk/Contents/Home/bin/../lib/libthermal_state.dylib' (no such file), '/usr/lib/libthermal_state.dylib' (no such file, not in dyld cache), 'libthermal_state.dylib' (no such file), '/usr/lib/libthermal_state.dylib' (no such file, not in dyld cache)
dlopen(/Users/zacsweers/Library/Frameworks/thermal_state.framework/thermal_state, 0x0009): tried: '/Users/zacsweers/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/zacsweers/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/Users/zacsweers/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/System/Library/Frameworks/thermal_state.framework/thermal_state' (no such file, not in dyld cache)
dlopen(/Library/Frameworks/thermal_state.framework/thermal_state, 0x0009): tried: '/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/System/Library/Frameworks/thermal_state.framework/thermal_state' (no such file, not in dyld cache)
dlopen(/System/Library/Frameworks/thermal_state.framework/thermal_state, 0x0009): tried: '/System/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/System/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/System/Library/Frameworks/thermal_state.framework/thermal_state' (no such file, not in dyld cache)
at io.reactivex.rxjava3.plugins.RxJavaPlugins.onError(RxJavaPlugins.java:372)
at io.reactivex.rxjava3.internal.schedulers.ScheduledDirectPeriodicTask.run(ScheduledDirectPeriodicTask.java:41)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:577)
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:358)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1589)
Caused by: java.lang.UnsatisfiedLinkError: Unable to load library 'thermal_state':
dlopen(libthermal_state.dylib, 0x0009): tried: 'libthermal_state.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibthermal_state.dylib' (no such file), '/Library/Java/JavaVirtualMachines/zulu-19.jdk/Contents/Home/bin/./libthermal_state.dylib' (no such file), '/Library/Java/JavaVirtualMachines/zulu-19.jdk/Contents/Home/bin/../lib/libthermal_state.dylib' (no such file), '/usr/lib/libthermal_state.dylib' (no such file, not in dyld cache), 'libthermal_state.dylib' (no such file), '/usr/lib/libthermal_state.dylib' (no such file, not in dyld cache)
dlopen(libthermal_state.dylib, 0x0009): tried: 'libthermal_state.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibthermal_state.dylib' (no such file), '/Library/Java/JavaVirtualMachines/zulu-19.jdk/Contents/Home/bin/./libthermal_state.dylib' (no such file), '/Library/Java/JavaVirtualMachines/zulu-19.jdk/Contents/Home/bin/../lib/libthermal_state.dylib' (no such file), '/usr/lib/libthermal_state.dylib' (no such file, not in dyld cache), 'libthermal_state.dylib' (no such file), '/usr/lib/libthermal_state.dylib' (no such file, not in dyld cache)
dlopen(/Users/zacsweers/Library/Frameworks/thermal_state.framework/thermal_state, 0x0009): tried: '/Users/zacsweers/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/zacsweers/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/Users/zacsweers/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/System/Library/Frameworks/thermal_state.framework/thermal_state' (no such file, not in dyld cache)
dlopen(/Library/Frameworks/thermal_state.framework/thermal_state, 0x0009): tried: '/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/System/Library/Frameworks/thermal_state.framework/thermal_state' (no such file, not in dyld cache)
dlopen(/System/Library/Frameworks/thermal_state.framework/thermal_state, 0x0009): tried: '/System/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/System/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/System/Library/Frameworks/thermal_state.framework/thermal_state' (no such file, not in dyld cache)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:323)
at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:483)
at com.sun.jna.Library$Handler.<init>(Library.java:197)
at com.sun.jna.Native.load(Native.java:622)
at com.sun.jna.Native.load(Native.java:596)
at slack.gradle.util.JnaThermalState$Companion.<clinit>(ThermalsWatcher.kt:382)
at slack.gradle.util.JnaThermalState.<clinit>(ThermalsWatcher.kt)
at slack.gradle.util.AppleSiliconThermals.getThermalState(ThermalsWatcher.kt:338)
at slack.gradle.util.AppleSiliconThermals.access$getThermalState(ThermalsWatcher.kt:267)
at slack.gradle.util.AppleSiliconThermals$start$2.apply(ThermalsWatcher.kt:288)
at slack.gradle.util.AppleSiliconThermals$start$2.apply(ThermalsWatcher.kt:267)
at io.reactivex.rxjava3.internal.operators.observable.ObservableMap$MapObserver.onNext(ObservableMap.java:58)
at io.reactivex.rxjava3.internal.operators.observable.ObservableInterval$IntervalObserver.run(ObservableInterval.java:82)
at io.reactivex.rxjava3.internal.schedulers.ScheduledDirectPeriodicTask.run(ScheduledDirectPeriodicTask.java:35)
... 6 more
Suppressed: java.lang.UnsatisfiedLinkError: dlopen(libthermal_state.dylib, 0x0009): tried: 'libthermal_state.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibthermal_state.dylib' (no such file), '/Library/Java/JavaVirtualMachines/zulu-19.jdk/Contents/Home/bin/./libthermal_state.dylib' (no such file), '/Library/Java/JavaVirtualMachines/zulu-19.jdk/Contents/Home/bin/../lib/libthermal_state.dylib' (no such file), '/usr/lib/libthermal_state.dylib' (no such file, not in dyld cache), 'libthermal_state.dylib' (no such file), '/usr/lib/libthermal_state.dylib' (no such file, not in dyld cache)
at com.sun.jna.Native.open(Native Method)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:211)
... 19 more
Suppressed: java.lang.UnsatisfiedLinkError: dlopen(libthermal_state.dylib, 0x0009): tried: 'libthermal_state.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibthermal_state.dylib' (no such file), '/Library/Java/JavaVirtualMachines/zulu-19.jdk/Contents/Home/bin/./libthermal_state.dylib' (no such file), '/Library/Java/JavaVirtualMachines/zulu-19.jdk/Contents/Home/bin/../lib/libthermal_state.dylib' (no such file), '/usr/lib/libthermal_state.dylib' (no such file, not in dyld cache), 'libthermal_state.dylib' (no such file), '/usr/lib/libthermal_state.dylib' (no such file, not in dyld cache)
at com.sun.jna.Native.open(Native Method)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:224)
... 19 more
Suppressed: java.lang.UnsatisfiedLinkError: dlopen(/Users/zacsweers/Library/Frameworks/thermal_state.framework/thermal_state, 0x0009): tried: '/Users/zacsweers/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/zacsweers/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/Users/zacsweers/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/System/Library/Frameworks/thermal_state.framework/thermal_state' (no such file, not in dyld cache)
at com.sun.jna.Native.open(Native Method)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:268)
... 19 more
Suppressed: java.lang.UnsatisfiedLinkError: dlopen(/Library/Frameworks/thermal_state.framework/thermal_state, 0x0009): tried: '/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/System/Library/Frameworks/thermal_state.framework/thermal_state' (no such file, not in dyld cache)
at com.sun.jna.Native.open(Native Method)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:268)
... 19 more
Suppressed: java.lang.UnsatisfiedLinkError: dlopen(/System/Library/Frameworks/thermal_state.framework/thermal_state, 0x0009): tried: '/System/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/System/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/System/Library/Frameworks/thermal_state.framework/thermal_state' (no such file, not in dyld cache)
at com.sun.jna.Native.open(Native Method)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:268)
... 19 more
Exception in thread "RxComputationThreadPool-1" io.reactivex.rxjava3.exceptions.UndeliverableException: The exception could not be delivered to the consumer because it has already canceled/disposed the flow or the exception has nowhere to go to begin with. Further reading: https://github.com/ReactiveX/RxJava/wiki/What's-different-in-2.0#error-handling | java.lang.UnsatisfiedLinkError: Unable to load library 'thermal_state':
dlopen(libthermal_state.dylib, 0x0009): tried: 'libthermal_state.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibthermal_state.dylib' (no such file), '/Library/Java/JavaVirtualMachines/zulu-19.jdk/Contents/Home/bin/./libthermal_state.dylib' (no such file), '/Library/Java/JavaVirtualMachines/zulu-19.jdk/Contents/Home/bin/../lib/libthermal_state.dylib' (no such file), '/usr/lib/libthermal_state.dylib' (no such file, not in dyld cache), 'libthermal_state.dylib' (no such file), '/usr/lib/libthermal_state.dylib' (no such file, not in dyld cache)
dlopen(libthermal_state.dylib, 0x0009): tried: 'libthermal_state.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibthermal_state.dylib' (no such file), '/Library/Java/JavaVirtualMachines/zulu-19.jdk/Contents/Home/bin/./libthermal_state.dylib' (no such file), '/Library/Java/JavaVirtualMachines/zulu-19.jdk/Contents/Home/bin/../lib/libthermal_state.dylib' (no such file), '/usr/lib/libthermal_state.dylib' (no such file, not in dyld cache), 'libthermal_state.dylib' (no such file), '/usr/lib/libthermal_state.dylib' (no such file, not in dyld cache)
dlopen(/Users/zacsweers/Library/Frameworks/thermal_state.framework/thermal_state, 0x0009): tried: '/Users/zacsweers/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/zacsweers/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/Users/zacsweers/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/System/Library/Frameworks/thermal_state.framework/thermal_state' (no such file, not in dyld cache)
dlopen(/Library/Frameworks/thermal_state.framework/thermal_state, 0x0009): tried: '/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/System/Library/Frameworks/thermal_state.framework/thermal_state' (no such file, not in dyld cache)
dlopen(/System/Library/Frameworks/thermal_state.framework/thermal_state, 0x0009): tried: '/System/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/System/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/System/Library/Frameworks/thermal_state.framework/thermal_state' (no such file, not in dyld cache)
at io.reactivex.rxjava3.plugins.RxJavaPlugins.onError(RxJavaPlugins.java:372)
at io.reactivex.rxjava3.internal.schedulers.ScheduledDirectPeriodicTask.run(ScheduledDirectPeriodicTask.java:41)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:577)
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:358)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1589)
Caused by: java.lang.UnsatisfiedLinkError: Unable to load library 'thermal_state':
dlopen(libthermal_state.dylib, 0x0009): tried: 'libthermal_state.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibthermal_state.dylib' (no such file), '/Library/Java/JavaVirtualMachines/zulu-19.jdk/Contents/Home/bin/./libthermal_state.dylib' (no such file), '/Library/Java/JavaVirtualMachines/zulu-19.jdk/Contents/Home/bin/../lib/libthermal_state.dylib' (no such file), '/usr/lib/libthermal_state.dylib' (no such file, not in dyld cache), 'libthermal_state.dylib' (no such file), '/usr/lib/libthermal_state.dylib' (no such file, not in dyld cache)
dlopen(libthermal_state.dylib, 0x0009): tried: 'libthermal_state.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibthermal_state.dylib' (no such file), '/Library/Java/JavaVirtualMachines/zulu-19.jdk/Contents/Home/bin/./libthermal_state.dylib' (no such file), '/Library/Java/JavaVirtualMachines/zulu-19.jdk/Contents/Home/bin/../lib/libthermal_state.dylib' (no such file), '/usr/lib/libthermal_state.dylib' (no such file, not in dyld cache), 'libthermal_state.dylib' (no such file), '/usr/lib/libthermal_state.dylib' (no such file, not in dyld cache)
dlopen(/Users/zacsweers/Library/Frameworks/thermal_state.framework/thermal_state, 0x0009): tried: '/Users/zacsweers/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/zacsweers/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/Users/zacsweers/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/System/Library/Frameworks/thermal_state.framework/thermal_state' (no such file, not in dyld cache)
dlopen(/Library/Frameworks/thermal_state.framework/thermal_state, 0x0009): tried: '/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/System/Library/Frameworks/thermal_state.framework/thermal_state' (no such file, not in dyld cache)
dlopen(/System/Library/Frameworks/thermal_state.framework/thermal_state, 0x0009): tried: '/System/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/System/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/System/Library/Frameworks/thermal_state.framework/thermal_state' (no such file, not in dyld cache)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:323)
at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:483)
at com.sun.jna.Library$Handler.<init>(Library.java:197)
at com.sun.jna.Native.load(Native.java:622)
at com.sun.jna.Native.load(Native.java:596)
at slack.gradle.util.JnaThermalState$Companion.<clinit>(ThermalsWatcher.kt:382)
at slack.gradle.util.JnaThermalState.<clinit>(ThermalsWatcher.kt)
at slack.gradle.util.AppleSiliconThermals.getThermalState(ThermalsWatcher.kt:338)
at slack.gradle.util.AppleSiliconThermals.access$getThermalState(ThermalsWatcher.kt:267)
at slack.gradle.util.AppleSiliconThermals$start$2.apply(ThermalsWatcher.kt:288)
at slack.gradle.util.AppleSiliconThermals$start$2.apply(ThermalsWatcher.kt:267)
at io.reactivex.rxjava3.internal.operators.observable.ObservableMap$MapObserver.onNext(ObservableMap.java:58)
at io.reactivex.rxjava3.internal.operators.observable.ObservableInterval$IntervalObserver.run(ObservableInterval.java:82)
at io.reactivex.rxjava3.internal.schedulers.ScheduledDirectPeriodicTask.run(ScheduledDirectPeriodicTask.java:35)
... 6 more
Suppressed: java.lang.UnsatisfiedLinkError: dlopen(libthermal_state.dylib, 0x0009): tried: 'libthermal_state.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibthermal_state.dylib' (no such file), '/Library/Java/JavaVirtualMachines/zulu-19.jdk/Contents/Home/bin/./libthermal_state.dylib' (no such file), '/Library/Java/JavaVirtualMachines/zulu-19.jdk/Contents/Home/bin/../lib/libthermal_state.dylib' (no such file), '/usr/lib/libthermal_state.dylib' (no such file, not in dyld cache), 'libthermal_state.dylib' (no such file), '/usr/lib/libthermal_state.dylib' (no such file, not in dyld cache)
at com.sun.jna.Native.open(Native Method)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:211)
... 19 more
Suppressed: java.lang.UnsatisfiedLinkError: dlopen(libthermal_state.dylib, 0x0009): tried: 'libthermal_state.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibthermal_state.dylib' (no such file), '/Library/Java/JavaVirtualMachines/zulu-19.jdk/Contents/Home/bin/./libthermal_state.dylib' (no such file), '/Library/Java/JavaVirtualMachines/zulu-19.jdk/Contents/Home/bin/../lib/libthermal_state.dylib' (no such file), '/usr/lib/libthermal_state.dylib' (no such file, not in dyld cache), 'libthermal_state.dylib' (no such file), '/usr/lib/libthermal_state.dylib' (no such file, not in dyld cache)
at com.sun.jna.Native.open(Native Method)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:224)
... 19 more
Suppressed: java.lang.UnsatisfiedLinkError: dlopen(/Users/zacsweers/Library/Frameworks/thermal_state.framework/thermal_state, 0x0009): tried: '/Users/zacsweers/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/zacsweers/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/Users/zacsweers/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/System/Library/Frameworks/thermal_state.framework/thermal_state' (no such file, not in dyld cache)
at com.sun.jna.Native.open(Native Method)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:268)
... 19 more
Suppressed: java.lang.UnsatisfiedLinkError: dlopen(/Library/Frameworks/thermal_state.framework/thermal_state, 0x0009): tried: '/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/System/Library/Frameworks/thermal_state.framework/thermal_state' (no such file, not in dyld cache)
at com.sun.jna.Native.open(Native Method)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:268)
... 19 more
Suppressed: java.lang.UnsatisfiedLinkError: dlopen(/System/Library/Frameworks/thermal_state.framework/thermal_state, 0x0009): tried: '/System/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/System/Library/Frameworks/thermal_state.framework/thermal_state' (no such file), '/System/Library/Frameworks/thermal_state.framework/thermal_state' (no such file, not in dyld cache)
at com.sun.jna.Native.open(Native Method)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:268)
... 19 more
Currently we split memory 75/25 for kotlin and gradle daemons. This was to give more precedence to kotlin compilations, but this ends up OOMing gradle syncs and a number of other gradle-daemon-heavy tasks otherwise. Should we retool this to 50/50?
Would be an either-or with the regular detekt plugin
https://github.com/detekt/detekt-compiler-plugin
Unclear how baseline generation works
We can gate this on the presence of a robolectric
key in SlackVersions
We occasionally see issues like this where OkHttp isn't able to finish a jar download
Caused by: java.io.EOFException: (No message provided)
We could use a retry with exponential backoff like this https://github.com/slackhq/EitherNet/blob/main/src/main/java/com/slack/eithernet/Retries.kt#L50
Currently we have two different implementations for computing dependencies.
SerializableDependencyGraph
, which uses a subset of configurations and appears to also only just be shallow dependencies.A new solution would be to unify these solutions and use the fully resolved graph for both. Using focus's approach seems good. We could then make a task that writes these to an output file and then aggregate them in module and skippy tasks. This would also obviate the need for declaring an explicit set of configurations to consume, as we could dynamically consume all of them.
> Unable to delete directory '/Users/sean.kim/Projects/slack-android-ng/build'
New files were found. This might happen because a process is still writing to the target directory.
- /Users/sean.kim/Projects/slack-android-ng/build/outputs
- /Users/sean.kim/Projects/slack-android-ng/build/outputs/logs
- /Users/sean.kim/Projects/slack-android-ng/build/outputs/logs/last-build-thermals.log
A gradle property with a comma-separated list of library aliases that should be added to detekt rulesets when detekt's gradle plugin is applied. This would allow us to more readily use things like https://twitter.github.io/compose-rules
Noticed this oddity, if sgp is defined after the kotlin and agp plugins it seems that anvil doesn't run ๐ค
The use of project
in a provider to read version catalogs breaks it currently
This would require a globalDetekt
task umbrella like we do with lint and unit tests.
Would be helpful for just building tests but not running
Things we use like ktfmt, google-java-format, kotlin, detekt, android, etc would be good to have. Bonus if we can auto-configure them too (i.e. like enabling the formatters, setting their styles, etc).
We use namespaces but android tests in libraries require the existence of a manifest file due to a bug in AGP
This way a consuming project can cross-reference this when deciding when to run instrumentation tests
The kotlin-dsl
plugin overrides kotlin compilation values. Such an obnoxious situation
We capture these values currently via exec operation since updating to Gradle 7.5, but this breaks configuration cache more often in an undesirable way. We should find a way to ignore this or disable it.
Some ideas here
Getting the below compilation error. Request to add com.sun.tools.javac.model to bootstrap update
FAILED
error: An unhandled exception was thrown by the Error Prone static analysis plugin.
Please report this at https://github.com/google/error-prone/issues/new and include the following:
error-prone version: 2.18.0
BugPattern: (see stack trace)
Stack Trace:
java.lang.IllegalAccessError: class com.google.errorprone.VisitorState (in unnamed module @0x57d8937c) cannot access class com.sun.tools.javac.model.JavacElements (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.model to unnamed module @0x57d8937c
A local override in ~/.gradle/gradle.properties
that allows to use an alternative
JDK vendor with matching versions, like the one set in JAVA_HOME
.
Then we can run something like ciGlobalSpotlessCheck and have it only run on affected projects
We should add a new gradle property to indicate whether or not to use Dagger KSP (i.e. just a boolean flag to indicate if it's allowed, similar to the moshi-ir flag) and then support this in SlackExtension
when wiring up dagger.
We should add a second property to track if Anvil supports dagger KSP (square/anvil#704), and if that is not true then we should still use kapt for those projects.
This should allow us to use dagger KSP where possible and incrementally upgrade.
If project A has a testImplementation
or androidTestImplementation
on project B, then project B should mark project A test/lint/detekt/androidTest tests as affected, but not propagate that to anything that depends on A because only known test configurations were affected.
We do something similar to this right now with changed files and not marking dependents as affected if the files are test-only.
Hi skate friends!
I ran into this IDE error, experienced after attaching the debugger, starting a build, cancelling the build, and then restarting Android Studio. This error then showed up in the IDE errors window.
com.intellij.diagnostic.PluginException: Cannot create extension (class=com.slack.sgp.intellij.SkateErrorHandler) [Plugin: com.slack.intellij.skate]
at com.intellij.serviceContainer.ComponentManagerImpl.createError(ComponentManagerImpl.kt:1096)
at com.intellij.openapi.extensions.impl.XmlExtensionAdapter.doCreateInstance(XmlExtensionAdapter.kt:70)
at com.intellij.openapi.extensions.impl.XmlExtensionAdapter.createInstance(XmlExtensionAdapter.kt:31)
at com.intellij.openapi.extensions.impl.ExtensionPointImpl.processAdapter(ExtensionPointImpl.java:473)
at com.intellij.openapi.extensions.impl.ExtensionPointImpl.processAdapters(ExtensionPointImpl.java:421)
at com.intellij.openapi.extensions.impl.ExtensionPointImpl.computeExtensionList(ExtensionPointImpl.java:249)
at com.intellij.openapi.extensions.impl.ExtensionPointImpl.getExtensionList(ExtensionPointImpl.java:243)
at com.intellij.openapi.extensions.ExtensionPointName.getExtensionList(ExtensionPointName.kt:43)
at com.intellij.diagnostic.IdeErrorsDialog.getSubmitter(IdeErrorsDialog.java:948)
at com.intellij.diagnostic.IdeErrorsDialog.getSubmitter(IdeErrorsDialog.java:938)
at com.intellij.diagnostic.DefaultIdeaErrorLogger.canHandle(DefaultIdeaErrorLogger.java:46)
at com.intellij.diagnostic.DialogAppender.appendToLoggers(DialogAppender.java:95)
at com.intellij.diagnostic.DialogAppender.lambda$queueAppend$0(DialogAppender.java:79)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:788)
at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739)
at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:731)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:758)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:667)
at com.intellij.ide.IdeEventQueue._dispatchEvent$lambda$7(IdeEventQueue.kt:571)
at com.intellij.openapi.application.impl.ApplicationImpl.withoutImplicitRead(ApplicationImpl.java:1444)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:571)
at com.intellij.ide.IdeEventQueue.access$_dispatchEvent(IdeEventQueue.kt:68)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:349)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:348)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:787)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:348)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:343)
at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:995)
at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105)
at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:995)
at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$4(IdeEventQueue.kt:343)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:829)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:385)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)
Caused by: com.intellij.diagnostic.PluginException: Cannot create class com.slack.sgp.intellij.SkateErrorHandler (classloader=PluginClassLoader(plugin=PluginDescriptor(name=Skate, id=com.slack.intellij.skate, descriptorPath=plugin.xml, path=~/Library/Application Support/Google/AndroidStudioPreview2023.1/plugins/skate-plugin, version=0.1.1, package=null, isBundled=false), packagePrefix=null, instanceId=50, state=active))
at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClass(ComponentManagerImpl.kt:1034)
at com.intellij.openapi.extensions.impl.XmlExtensionAdapter.instantiateClass(XmlExtensionAdapter.kt:79)
at com.intellij.openapi.extensions.impl.XmlExtensionAdapter$SimpleConstructorInjectionAdapter.instantiateClass(XmlExtensionAdapter.kt:90)
at com.intellij.openapi.extensions.impl.XmlExtensionAdapter.doCreateInstance(XmlExtensionAdapter.kt:50)
... 40 more
Caused by: java.lang.LinkageError: loader constraint violation: when resolving method 'org.slf4j.ILoggerFactory org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()' the class loader com.intellij.ide.plugins.cl.PluginClassLoader @e428c59 of the current class, org/slf4j/LoggerFactory, and the class loader com.intellij.util.lang.PathClassLoader @1888ff2c for the method's defining class, org/slf4j/impl/StaticLoggerBinder, have different Class objects for the type org/slf4j/ILoggerFactory used in the signature (org.slf4j.LoggerFactory is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @e428c59, parent loader 'bootstrap'; org.slf4j.impl.StaticLoggerBinder is in unnamed module of loader com.intellij.util.lang.PathClassLoader @1888ff2c)
at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:418)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:357)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:383)
at com.bugsnag.Bugsnag.<clinit>(Bugsnag.java:27)
at com.slack.sgp.intellij.SkateErrorHandler.<init>(SkateErrorHandler.kt:36)
at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClass(ComponentManagerImpl.kt:993)
... 43 more
Otherwise lint won't run on the JVM-only sources
Warning: Lint will treat :libraries:retrofitconverters as an external dependency and not analyze it.
* Recommended Action: Apply the 'com.android.lint' plugin to java library project :libraries:retrofitconverters. to enable lint to analyze those sources.
We are running into the following issues with the configuration cache when trying to build:
Configuration cache problems found in this build.
2 problems were found storing the configuration cache.
- Class `org.zeroturnaround.exec.ProcessExecutor`: external process started 'sysctl -in sysctl.proc_translated'
See https://docs.gradle.org/8.2-rc-2/userguide/configuration_cache.html#config_cache:requirements:external_processes
- Plugin 'com.slack.gradle.root': external process started 'pmset -g thermlog'
See https://docs.gradle.org/8.2-rc-2/userguide/configuration_cache.html#config_cache:requirements:external_processes
See the complete report at file:///Users/yichen.che/slack-android-ng/build/reports/configuration-cache/5aw9d87yjtpi97w7xi82e3xn0/3m2h1xdb9yedffywz6edjjzpc/configuration-cache-report.html
> Starting an external process 'sysctl -in sysctl.proc_translated' during configuration time is unsupported.
> Starting an external process 'pmset -g thermlog' during configuration time is unsupported.
Tried re-enabling Gradle configuration caching in my project once we were updated to Kotlin 1.9.0 since it didn't seem to work with Multiplatform projects. Now it doesn't seem to be playing nice with the update robolectric jars task. Using SGP 0.10.0.
FAILURE: Build failed with an exception.
* What went wrong:
Configuration cache state could not be cached: field `__allJars__` of task `:updateRobolectricJars` of type `slack.gradle.tasks.robolectric.UpdateRobolectricJarsTask`: error writing value of type 'org.gradle.api.internal.provider.DefaultListProperty'
> Could not resolve all artifacts for configuration ':detachedConfiguration1'.
> Could not find org.robolectric:android-all-instrumented:11-robolectric-6757853-i-1.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/robolectric/android-all-instrumented/11-robolectric-6757853-i-1/android-all-instrumented-11-robolectric-6757853-i-1.pom
- https://maven-central.storage-download.googleapis.com/maven2/org/robolectric/android-all-instrumented/11-robolectric-6757853-i-1/android-all-instrumented-11-robolectric-6757853-i-1.pom
- https://repo.maven.apache.org/maven2/org/robolectric/android-all-instrumented/11-robolectric-6757853-i-1/android-all-instrumented-11-robolectric-6757853-i-1.pom
- https://jitpack.io/org/robolectric/android-all-instrumented/11-robolectric-6757853-i-1/android-all-instrumented-11-robolectric-6757853-i-1.pom
Required by:
project :
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org./
BUILD FAILED in 7s
Error: Gradle build failed: see console output for details
This would allow us to configure this task to use our artifactory
Still the same benefit of avoiding downstream affecting, but a change in a unit test only should also allow skipping the androidTest of that project if there is one
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.