Allow js target resources publication
^KT-65540
This commit is contained in:
committed by
Space Team
parent
76814a8bbe
commit
f813ca1975
-3
@@ -73,9 +73,6 @@ internal abstract class KotlinTargetResourcesPublicationImpl @Inject constructor
|
||||
|
||||
override fun canPublishResources(target: KotlinTarget): Boolean {
|
||||
if (targetsThatSupportPublication.none { it.isInstance(target) }) return false
|
||||
if (target is KotlinJsIrTarget) {
|
||||
return target.platformType == KotlinPlatformType.wasm
|
||||
}
|
||||
if (target is KotlinAndroidTarget) {
|
||||
return AndroidGradlePluginVersion.current >= KotlinAndroidTargetResourcesPublication.MIN_AGP_VERSION
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user