I'm trying to use this plugin for testing a typescript project. In doing so, I need to add karma-typescript framework and setup karma to use it for compiling typescript. I'm using this simple file:
Gradle complains about the syntax of the preprocessor directive
[src/main/**/*.ts] is a constant expression, but it should be a variable expression at line: 25 column: 26. File: _BuildScript_ @ line 25, column 26.
'src/main/**/*.ts' = ['karma-typescripts']
I have tried several options, but none works. I would appreciate if you could help me with this issue, either by indicating how correctly setup this in the gradle file, or how to include it from an external karma config file.
I'm trying to use this plugin for testing a typescript project. In doing so, I need to add karma-typescript framework and setup karma to use it for compiling typescript. I'm using this simple file:
The problem is that when I try to put this same configuration in gradle in order to use your plugin, like this:
Gradle complains about the syntax of the preprocessor directive
I have tried several options, but none works. I would appreciate if you could help me with this issue, either by indicating how correctly setup this in the gradle file, or how to include it from an external karma config file.