plugins { id 'maven-publish' id 'net.woggioni.plugins.multi-release-jar' id 'net.woggioni.gradle.lombok' } group = "net.woggioni" repositories { maven { url = 'https://woggioni.net/mvn' } mavenCentral() } lombok { version = getProperty('lombok.version') } dependencies { implementation group: 'net.woggioni', name: 'jwo', version: getProperty('jwo.version') testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: getProperty('junit.jupiter.version') testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: getProperty('junit.jupiter.version') } java { sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_11 withJavadocJar() withSourcesJar() } compileTestJava { options.compilerArgs << '-parameters' } test { useJUnitPlatform() } publishing { repositories { maven { url = 'https://mvn.woggioni.net/' } } publications { maven(MavenPublication) { from(components["java"]) } } } wrapper { distributionType = Wrapper.DistributionType.BIN gradleVersion = getProperty('gradle.version') }