Exclude node_modules dir from kotlin-stdlib-js project

Minor: shorter IdeaModel configuration.
This commit is contained in:
Ilya Gorbunov
2017-10-13 23:54:25 +03:00
parent 65d9b0edb3
commit 13086b4347
2 changed files with 8 additions and 1 deletions
+7
View File
@@ -5,6 +5,7 @@ plugins {
description = 'Kotlin Standard Library for JS'
apply plugin: 'kotlin2js'
apply plugin: 'idea'
configurePublishing(project)
@@ -60,6 +61,12 @@ dependencies {
merger project(":tools:kotlin-stdlib-js-merger")
}
idea {
module {
excludeDirs = files('node_modules').toSet()
}
}
createPreprocessorTask(project, "Main", "${projectDir}/../src/kotlin", commonSrcDir)
createPreprocessorTask(project, "Test", "${projectDir}/../test", commonTestSrcDir)