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:
Nikolay Krasko
2020-06-08 21:47:15 +03:00
parent 7190b3400f
commit 6babc73320
7 changed files with 28 additions and 0 deletions
+4
View File
@@ -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") {
+4
View File
@@ -76,6 +76,10 @@ dependencies {
if (Ide.AS36.orHigher()) {
testRuntime(intellijPluginDep("android-layoutlib"))
}
if (Ide.AS41.orHigher()) {
testRuntime(intellijPluginDep("platform-images"))
}
}
sourceSets {
+4
View File
@@ -78,6 +78,10 @@ dependencies {
if (Ide.AS36.orHigher()) {
testRuntime(intellijPluginDep("android-layoutlib"))
}
if (Ide.AS41.orHigher()) {
testRuntime(intellijPluginDep("platform-images"))
}
}
sourceSets {
+4
View File
@@ -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"))
}
+4
View File
@@ -81,6 +81,10 @@ dependencies {
if (Ide.AS36.orHigher()) {
testRuntime(intellijPluginDep("android-layoutlib"))
}
if (Ide.AS41.orHigher()) {
testRuntime(intellijPluginDep("platform-images"))
}
}
if (Ide.IJ()) {
+4
View File
@@ -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 {