clean up buildscripts and apply doc plugin

This commit is contained in:
dfsek
2021-12-14 17:19:08 -07:00
parent 3c3b24fc03
commit ddd5dbaeed
2 changed files with 2 additions and 5 deletions
@@ -14,12 +14,14 @@ import org.gradle.kotlin.dsl.getByName
import org.gradle.kotlin.dsl.register
import org.gradle.kotlin.dsl.withType
import org.gradle.language.jvm.tasks.ProcessResources
import com.dfsek.terra.tectonicdoc.TectonicDocPlugin
fun Project.configureCompilation() {
apply(plugin = "maven-publish")
apply(plugin = "java")
apply(plugin = "java-library")
apply(plugin = "idea")
apply<TectonicDocPlugin>()
configure<JavaPluginExtension> {
sourceCompatibility = JavaVersion.VERSION_17