Convert idea plugin modules to intellij plugin

This commit is contained in:
Ilya Chernikov
2017-11-02 18:55:20 +01:00
committed by Vyacheslav Gerasimov
parent 3912025e14
commit 0d264793ce
19 changed files with 253 additions and 136 deletions
+8 -1
View File
@@ -1,16 +1,23 @@
apply { plugin("kotlin") }
configureIntellijPlugin()
dependencies {
compile(projectDist(":kotlin-stdlib"))
compile(project(":compiler:backend"))
compile(ideaSdkDeps("asm-all"))
// compile(files(PathUtil.getJdkClassesRootsFromCurrentJre())) // TODO: make this one work instead of the nex one, since it contains more universal logic
compile(files("${System.getProperty("java.home")}/../lib/tools.jar"))
testCompile(projectDist(":kotlin-test:kotlin-test-junit"))
testCompile(commonDep("junit:junit"))
}
afterEvaluate {
dependencies {
compile(intellij { include("asm-all.jar") })
}
}
sourceSets {
"main" { projectDefault() }
"test" { projectDefault() }