Switch all usages of dx.jar to the new mechanism, cleanup and refactoring

This commit is contained in:
Ilya Chernikov
2017-12-06 17:47:28 +01:00
committed by Vyacheslav Gerasimov
parent eabbebd458
commit 47507ad694
9 changed files with 35 additions and 20 deletions
+5 -5
View File
@@ -2,6 +2,10 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
apply { plugin("kotlin") }
repositories {
androidDxJarRepo(project)
}
configureIntellijPlugin {
setPlugins("android", "copyright", "coverage", "gradle", "Groovy", "IntelliLang",
"java-decompiler", "java-i18n", "junit", "maven", "properties", "testng")
@@ -21,7 +25,7 @@ dependencies {
compile(project(":idea:ide-common"))
compile(project(":idea:idea-gradle"))
compile(project(":custom-dependencies:android-sdk", configuration = "dxJar"))
compile(androidDxJar())
testCompile(projectDist(":kotlin-test:kotlin-test-jvm"))
testCompile(project(":idea:idea-test-framework")) { isTransitive = false }
@@ -63,10 +67,6 @@ sourceSets {
"test" { projectDefault() }
}
tasks.withType<KotlinCompile> {
dependsOn(":custom-dependencies:android-sdk:extractDxJar")
}
projectTest {
dependsOn(androidSdk)
workingDir = rootDir