Skip to content
Snippets Groups Projects
build.gradle 579 B
Newer Older
Georg Seibt's avatar
Georg Seibt committed
plugins {
    id 'java'
    id 'idea'
}

tasks.withType(JavaCompile) {
    options.encoding = 'UTF-8'
}

sourceSets {
    main {
        java {
            srcDir 'src'
        }
    }
}

repositories {
    mavenCentral()
}

dependencies {
Georg Seibt's avatar
Georg Seibt committed
    implementation 'commons-io:commons-io:2.6'
if (project == getRootProject()) {
    wrapper {
        distributionType Wrapper.DistributionType.ALL
Georg Seibt's avatar
Georg Seibt committed
        gradleVersion '6.8.2'
Georg Seibt's avatar
Georg Seibt committed
idea {
    module {
        downloadJavadoc = true
        downloadSources = true
    }
}

compileJava {
    options.compilerArgs << "-Xlint:all"
Georg Seibt's avatar
Georg Seibt committed
}