summaryrefslogtreecommitdiff
path: root/plugins/kotlin/jps/jps-plugin/tests/test/org/jetbrains/kotlin/jps/build/AbstractIncrementalJvmJpsTest.kt
blob: c5b2a92ae5b583f8357adc1d97c15e58a6ef3abc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.

package org.jetbrains.kotlin.jps.build

import org.jetbrains.kotlin.cli.common.arguments.K2JVMCompilerArguments
import org.jetbrains.kotlin.jps.model.k2JvmCompilerArguments

abstract class AbstractIncrementalJvmJpsTest(
    allowNoFilesWithSuffixInTestData: Boolean = false
) : AbstractIncrementalJpsTest(allowNoFilesWithSuffixInTestData = allowNoFilesWithSuffixInTestData) {
    override fun overrideModuleSettings() {
        myProject.k2JvmCompilerArguments = K2JVMCompilerArguments().also {
            it.disableDefaultScriptingPlugin = true
        }
    }
}