com.autonomousapps.kit.gradle.android.KotlinOptions.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gradle-testkit-support Show documentation
Show all versions of gradle-testkit-support Show documentation
A DSL for building test fixtures with Gradle TestKit
The newest version!
// Copyright (c) 2024. Tony Robalik.
// SPDX-License-Identifier: Apache-2.0
package com.autonomousapps.kit.gradle.android
import com.autonomousapps.kit.render.Element
import com.autonomousapps.kit.render.Scribe
public class KotlinOptions @JvmOverloads constructor(
private val jvmTarget: String = "1.8",
) : Element.Block {
override val name: String = "kotlinOptions"
override fun render(scribe: Scribe): String = scribe.block(this) { s ->
s.line {
it.append("jvmTarget = \"")
it.append(jvmTarget)
it.append("\"")
}
}
public companion object {
@JvmField
public val DEFAULT: KotlinOptions = KotlinOptions()
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy