plugins {
    id 'java'
    id "application"
}

apply plugin : "java"
ext {
    javaMainClass = "me.bvn13.logsorter.LogSorter"
}
application {
    mainClassName = javaMainClass
}
jar {
    manifest {
        attributes 'Main-Class': application.mainClass
    }
}

group 'org.example'
version '1.0-SNAPSHOT'

repositories {
    mavenCentral()
}


dependencies {
    testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
    testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
}

test {
    useJUnitPlatform()
}