Do not use code preprocessing anymore

This commit is contained in:
Ilya Gorbunov
2018-03-21 20:47:05 +03:00
parent 37787f9769
commit ac3de447ae
9 changed files with 14 additions and 45 deletions
-12
View File
@@ -217,15 +217,3 @@ ext.configurePublishing = { Project project ->
}
}
ext.createPreprocessorTask = { Project project, def name, def sourceDir, def targetDir, def profile = "JS" ->
return project.tasks.create("preprocessSources$name", JavaExec) {
// dependsOn(rootProject.prepareBootstrap)
inputs.dir(sourceDir)
outputs.dir(targetDir)
classpath = rootProject.configurations.bootstrapCompile
// classpath = project.files(bootstrapCompilerFile)
main = "org.jetbrains.kotlin.preprocessor.PreprocessorCLI"
args = [sourceDir, targetDir, profile]
}
}