66 lines
2.2 KiB
Kotlin
66 lines
2.2 KiB
Kotlin
|
|
description = "Kotlin Android Extensions IDEA"
|
|
|
|
apply { plugin("kotlin") }
|
|
|
|
jvmTarget = "1.6"
|
|
|
|
configureIntellijPlugin {
|
|
setPlugins("android", "copyright", "coverage", "gradle", "Groovy", "IntelliLang",
|
|
"java-decompiler", "java-i18n", "junit", "maven", "properties", "testng")
|
|
}
|
|
|
|
dependencies {
|
|
compile(project(":compiler:util"))
|
|
compile(project(":compiler:light-classes"))
|
|
compile(project(":idea:idea-core"))
|
|
compile(project(":idea"))
|
|
compile(project(":idea:idea-gradle"))
|
|
compile(project(":plugins:android-extensions-compiler"))
|
|
compileOnly(project(":kotlin-android-extensions-runtime"))
|
|
|
|
testCompile(project(":compiler:tests-common"))
|
|
testCompile(project(":compiler:cli"))
|
|
testCompile(project(":compiler:frontend.java"))
|
|
testCompile(project(":idea:idea-test-framework")) { isTransitive = false }
|
|
testCompile(project(":plugins:kapt3-idea"))
|
|
testCompile(projectTests(":compiler:tests-common"))
|
|
testCompile(projectTests(":idea"))
|
|
testCompile(projectTests(":idea:idea-android"))
|
|
testCompile(projectDist(":kotlin-test:kotlin-test-jvm"))
|
|
testCompile(commonDep("junit:junit"))
|
|
testRuntime(projectDist(":kotlin-reflect"))
|
|
testRuntime(project(":idea:idea-jvm"))
|
|
testRuntime(project(":plugins:android-extensions-jps"))
|
|
testRuntime(project(":sam-with-receiver-ide-plugin"))
|
|
testRuntime(project(":noarg-ide-plugin"))
|
|
testRuntime(project(":allopen-ide-plugin"))
|
|
testRuntime(project(":plugins:lint"))
|
|
}
|
|
|
|
afterEvaluate {
|
|
dependencies {
|
|
compile(intellijPlugin("android") { include("android.jar", "android-common.jar", "sdk-common.jar", "sdk-tools.jar") })
|
|
compile(intellijPlugin("Groovy") { include("Groovy.jar") })
|
|
testRuntime(intellij())
|
|
testRuntime(intellijPlugins("junit", "IntelliLang", "testng", "copyright", "properties", "java-i18n",
|
|
"gradle", "Groovy", "coverage", "java-decompiler", "maven", "android"))
|
|
}
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" { projectDefault() }
|
|
}
|
|
|
|
testsJar {}
|
|
|
|
projectTest {
|
|
dependsOn(":kotlin-android-extensions-runtime:dist")
|
|
workingDir = rootDir
|
|
}
|
|
|
|
runtimeJar()
|
|
|
|
ideaPlugin()
|