Exclude node_modules dir from kotlin-stdlib-js project
Minor: shorter IdeaModel configuration.
This commit is contained in:
+1
-1
@@ -449,7 +449,7 @@ tasks {
|
||||
"check" { dependsOn("test") }
|
||||
}
|
||||
|
||||
the<IdeaModel>().apply {
|
||||
configure<IdeaModel> {
|
||||
module {
|
||||
excludeDirs = files(
|
||||
project.buildDir,
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user