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-login-as"))
|
||||
}
|
||||
|
||||
if (Ide.AS41.orHigher()) {
|
||||
testRuntime(intellijPluginDep("platform-images"))
|
||||
}
|
||||
}
|
||||
|
||||
tasks.named<Copy>("processResources") {
|
||||
|
||||
@@ -76,6 +76,10 @@ dependencies {
|
||||
if (Ide.AS36.orHigher()) {
|
||||
testRuntime(intellijPluginDep("android-layoutlib"))
|
||||
}
|
||||
|
||||
if (Ide.AS41.orHigher()) {
|
||||
testRuntime(intellijPluginDep("platform-images"))
|
||||
}
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
||||
@@ -78,6 +78,10 @@ dependencies {
|
||||
if (Ide.AS36.orHigher()) {
|
||||
testRuntime(intellijPluginDep("android-layoutlib"))
|
||||
}
|
||||
|
||||
if (Ide.AS41.orHigher()) {
|
||||
testRuntime(intellijPluginDep("platform-images"))
|
||||
}
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
||||
@@ -85,6 +85,10 @@ dependencies {
|
||||
testRuntime(intellijPluginDep("android"))
|
||||
testRuntime(intellijPluginDep("smali"))
|
||||
|
||||
if (Ide.AS41.orHigher()) {
|
||||
testRuntime(intellijPluginDep("platform-images"))
|
||||
}
|
||||
|
||||
if (Ide.AS36.orHigher()) {
|
||||
testRuntime(intellijPluginDep("android-layoutlib"))
|
||||
}
|
||||
|
||||
@@ -81,6 +81,10 @@ dependencies {
|
||||
if (Ide.AS36.orHigher()) {
|
||||
testRuntime(intellijPluginDep("android-layoutlib"))
|
||||
}
|
||||
|
||||
if (Ide.AS41.orHigher()) {
|
||||
testRuntime(intellijPluginDep("platform-images"))
|
||||
}
|
||||
}
|
||||
|
||||
if (Ide.IJ()) {
|
||||
|
||||
@@ -70,6 +70,10 @@ dependencies {
|
||||
if (Ide.AS36.orHigher()) {
|
||||
testRuntime(intellijPluginDep("android-layoutlib"))
|
||||
}
|
||||
|
||||
if (Ide.AS41.orHigher()) {
|
||||
testRuntime(intellijPluginDep("platform-images"))
|
||||
}
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
||||
@@ -66,6 +66,10 @@ dependencies {
|
||||
if (Ide.AS36.orHigher()) {
|
||||
testRuntime(intellijPluginDep("android-layoutlib"))
|
||||
}
|
||||
|
||||
if (Ide.AS41.orHigher()) {
|
||||
testRuntime(intellijPluginDep("platform-images"))
|
||||
}
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
||||
Reference in New Issue
Block a user