as31: Add smali plugin required by android plugin to test runtime
This commit is contained in:
committed by
Nikolay Krasko
parent
00d9dc7cc0
commit
e2578b6a17
@@ -95,6 +95,7 @@ dependencies {
|
|||||||
testRuntime(intellijPluginDep("coverage"))
|
testRuntime(intellijPluginDep("coverage"))
|
||||||
//testRuntime(intellijPluginDep("maven"))
|
//testRuntime(intellijPluginDep("maven"))
|
||||||
testRuntime(intellijPluginDep("android"))
|
testRuntime(intellijPluginDep("android"))
|
||||||
|
testRuntime(intellijPluginDep("smali"))
|
||||||
testRuntime(intellijPluginDep("testng"))
|
testRuntime(intellijPluginDep("testng"))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -47,6 +47,7 @@ dependencies {
|
|||||||
testRuntime(project(":allopen-ide-plugin"))
|
testRuntime(project(":allopen-ide-plugin"))
|
||||||
|
|
||||||
testRuntime(intellijPluginDep("android"))
|
testRuntime(intellijPluginDep("android"))
|
||||||
|
testRuntime(intellijPluginDep("smali"))
|
||||||
testRuntime(intellijPluginDep("copyright"))
|
testRuntime(intellijPluginDep("copyright"))
|
||||||
testRuntime(intellijPluginDep("coverage"))
|
testRuntime(intellijPluginDep("coverage"))
|
||||||
testRuntime(intellijPluginDep("gradle"))
|
testRuntime(intellijPluginDep("gradle"))
|
||||||
|
|||||||
@@ -46,6 +46,7 @@ dependencies {
|
|||||||
testRuntime(intellijPluginDep("coverage"))
|
testRuntime(intellijPluginDep("coverage"))
|
||||||
//testRuntime(intellijPluginDep("maven"))
|
//testRuntime(intellijPluginDep("maven"))
|
||||||
testRuntime(intellijPluginDep("android"))
|
testRuntime(intellijPluginDep("android"))
|
||||||
|
testRuntime(intellijPluginDep("smali"))
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceSets {
|
sourceSets {
|
||||||
|
|||||||
@@ -47,6 +47,7 @@ dependencies {
|
|||||||
testRuntime(intellijPluginDep("coverage"))
|
testRuntime(intellijPluginDep("coverage"))
|
||||||
//testRuntime(intellijPluginDep("maven"))
|
//testRuntime(intellijPluginDep("maven"))
|
||||||
testRuntime(intellijPluginDep("android"))
|
testRuntime(intellijPluginDep("android"))
|
||||||
|
testRuntime(intellijPluginDep("smali"))
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceSets {
|
sourceSets {
|
||||||
|
|||||||
@@ -33,6 +33,7 @@ dependencies {
|
|||||||
testRuntime(intellijPluginDep("coverage"))
|
testRuntime(intellijPluginDep("coverage"))
|
||||||
//testRuntime(intellijPluginDep("maven"))
|
//testRuntime(intellijPluginDep("maven"))
|
||||||
testRuntime(intellijPluginDep("android"))
|
testRuntime(intellijPluginDep("android"))
|
||||||
|
testRuntime(intellijPluginDep("smali"))
|
||||||
testRuntime(intellijPluginDep("junit"))
|
testRuntime(intellijPluginDep("junit"))
|
||||||
testRuntime(intellijPluginDep("testng"))
|
testRuntime(intellijPluginDep("testng"))
|
||||||
testRuntime(intellijPluginDep("IntelliLang"))
|
testRuntime(intellijPluginDep("IntelliLang"))
|
||||||
|
|||||||
@@ -53,6 +53,7 @@ dependencies {
|
|||||||
testRuntime(intellijPluginDep("java-decompiler"))
|
testRuntime(intellijPluginDep("java-decompiler"))
|
||||||
//testRuntime(intellijPluginDep("maven"))
|
//testRuntime(intellijPluginDep("maven"))
|
||||||
testRuntime(intellijPluginDep("android"))
|
testRuntime(intellijPluginDep("android"))
|
||||||
|
testRuntime(intellijPluginDep("smali"))
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceSets {
|
sourceSets {
|
||||||
|
|||||||
@@ -0,0 +1,42 @@
|
|||||||
|
|
||||||
|
plugins {
|
||||||
|
kotlin("jvm")
|
||||||
|
id("jps-compatible")
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
testRuntime(intellijDep())
|
||||||
|
|
||||||
|
compile(project(":compiler:util"))
|
||||||
|
compile(project(":jps-plugin"))
|
||||||
|
compile(project(":plugins:android-extensions-compiler"))
|
||||||
|
compileOnly(intellijDep()) { includeJars("openapi", "jps-builders", "jps-model", "jdom") }
|
||||||
|
compileOnly(intellijPluginDep("android")) { includeJars("jps/android-jps-plugin") }
|
||||||
|
compile(intellijPluginDep("android")) { includeJars("jps/android-jps-plugin") }
|
||||||
|
|
||||||
|
testCompile(projectTests(":jps-plugin"))
|
||||||
|
testCompile(project(":compiler:tests-common"))
|
||||||
|
testCompile(commonDep("junit:junit"))
|
||||||
|
testCompile(projectDist(":kotlin-test:kotlin-test-jvm"))
|
||||||
|
testCompile(projectTests(":kotlin-build-common"))
|
||||||
|
testCompileOnly(intellijDep()) { includeJars("openapi", "jps-builders") }
|
||||||
|
testCompileOnly(intellijDep("jps-build-test")) { includeJars("jps-build-test") }
|
||||||
|
testCompileOnly(intellijDep()) { includeJars("jps-model") }
|
||||||
|
|
||||||
|
testRuntime(intellijPluginDep("android"))
|
||||||
|
testRuntime(intellijPluginDep("smali"))
|
||||||
|
testRuntime(intellijDep("jps-build-test"))
|
||||||
|
testRuntime(intellijDep("jps-standalone"))
|
||||||
|
}
|
||||||
|
|
||||||
|
sourceSets {
|
||||||
|
"main" { projectDefault() }
|
||||||
|
"test" { projectDefault() }
|
||||||
|
}
|
||||||
|
|
||||||
|
projectTest {
|
||||||
|
workingDir = rootDir
|
||||||
|
useAndroidSdk()
|
||||||
|
}
|
||||||
|
|
||||||
|
testsJar {}
|
||||||
Reference in New Issue
Block a user