Skip to content
Snippets Groups Projects
build.gradle 572 B
Newer Older
  • Learn to ignore specific revisions
  • 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 {
    
        compile '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
    }