AS41: Fix problems with initialization of Android plugin in tests
org/intellij/images/fileTypes/ImageFileTypeManager java.lang.NoClassDefFoundError: org/intellij/images/fileTypes/ImageFileTypeManager at org.jetbrains.android.AndroidPlugin.lambda$registerWebpSupport$1(AndroidPlugin.java:50)
This commit is contained in:
@@ -192,6 +192,10 @@ dependencies {
|
|||||||
testRuntime(intellijPluginDep("google-cloud-tools-core-as"))
|
testRuntime(intellijPluginDep("google-cloud-tools-core-as"))
|
||||||
testRuntime(intellijPluginDep("google-login-as"))
|
testRuntime(intellijPluginDep("google-login-as"))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (Ide.AS41.orHigher()) {
|
||||||
|
testRuntime(intellijPluginDep("platform-images"))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.named<Copy>("processResources") {
|
tasks.named<Copy>("processResources") {
|
||||||
|
|||||||
@@ -76,6 +76,10 @@ dependencies {
|
|||||||
if (Ide.AS36.orHigher()) {
|
if (Ide.AS36.orHigher()) {
|
||||||
testRuntime(intellijPluginDep("android-layoutlib"))
|
testRuntime(intellijPluginDep("android-layoutlib"))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (Ide.AS41.orHigher()) {
|
||||||
|
testRuntime(intellijPluginDep("platform-images"))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceSets {
|
sourceSets {
|
||||||
|
|||||||
@@ -78,6 +78,10 @@ dependencies {
|
|||||||
if (Ide.AS36.orHigher()) {
|
if (Ide.AS36.orHigher()) {
|
||||||
testRuntime(intellijPluginDep("android-layoutlib"))
|
testRuntime(intellijPluginDep("android-layoutlib"))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (Ide.AS41.orHigher()) {
|
||||||
|
testRuntime(intellijPluginDep("platform-images"))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceSets {
|
sourceSets {
|
||||||
|
|||||||
@@ -85,6 +85,10 @@ dependencies {
|
|||||||
testRuntime(intellijPluginDep("android"))
|
testRuntime(intellijPluginDep("android"))
|
||||||
testRuntime(intellijPluginDep("smali"))
|
testRuntime(intellijPluginDep("smali"))
|
||||||
|
|
||||||
|
if (Ide.AS41.orHigher()) {
|
||||||
|
testRuntime(intellijPluginDep("platform-images"))
|
||||||
|
}
|
||||||
|
|
||||||
if (Ide.AS36.orHigher()) {
|
if (Ide.AS36.orHigher()) {
|
||||||
testRuntime(intellijPluginDep("android-layoutlib"))
|
testRuntime(intellijPluginDep("android-layoutlib"))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -81,6 +81,10 @@ dependencies {
|
|||||||
if (Ide.AS36.orHigher()) {
|
if (Ide.AS36.orHigher()) {
|
||||||
testRuntime(intellijPluginDep("android-layoutlib"))
|
testRuntime(intellijPluginDep("android-layoutlib"))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (Ide.AS41.orHigher()) {
|
||||||
|
testRuntime(intellijPluginDep("platform-images"))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Ide.IJ()) {
|
if (Ide.IJ()) {
|
||||||
|
|||||||
@@ -70,6 +70,10 @@ dependencies {
|
|||||||
if (Ide.AS36.orHigher()) {
|
if (Ide.AS36.orHigher()) {
|
||||||
testRuntime(intellijPluginDep("android-layoutlib"))
|
testRuntime(intellijPluginDep("android-layoutlib"))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (Ide.AS41.orHigher()) {
|
||||||
|
testRuntime(intellijPluginDep("platform-images"))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceSets {
|
sourceSets {
|
||||||
|
|||||||
@@ -66,6 +66,10 @@ dependencies {
|
|||||||
if (Ide.AS36.orHigher()) {
|
if (Ide.AS36.orHigher()) {
|
||||||
testRuntime(intellijPluginDep("android-layoutlib"))
|
testRuntime(intellijPluginDep("android-layoutlib"))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (Ide.AS41.orHigher()) {
|
||||||
|
testRuntime(intellijPluginDep("platform-images"))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceSets {
|
sourceSets {
|
||||||
|
|||||||
Reference in New Issue
Block a user