downgrade version to java 8

master
InkerBot 3 months ago
parent 718315b5c5
commit 9962d590c7

@ -6,7 +6,7 @@ plugins {
id 'java'
}
group 'net.william278'
group 'org.inksnow.husk'
version "2.0.5${versionMetadata()}"
defaultTasks 'licenseFormat', 'build'
@ -27,7 +27,7 @@ dependencies {
tasks {
compileJava {
options.encoding = 'UTF-8'
options.release.set(11)
options.release.set(8)
}
jar {
manifest {
@ -65,42 +65,24 @@ test {
publishing {
repositories {
if (System.getenv("RELEASES_MAVEN_USERNAME") != null) {
maven {
name = "william278-releases"
url = "https://repo.william278.net/releases"
credentials {
username = System.getenv("RELEASES_MAVEN_USERNAME")
password = System.getenv("RELEASES_MAVEN_PASSWORD")
}
authentication {
basic(BasicAuthentication)
}
}
}
if (System.getenv("SNAPSHOTS_MAVEN_USERNAME") != null) {
maven {
name = "william278-snapshots"
url = "https://repo.william278.net/snapshots"
credentials {
username = System.getenv("SNAPSHOTS_MAVEN_USERNAME")
password = System.getenv("SNAPSHOTS_MAVEN_PASSWORD")
}
authentication {
basic(BasicAuthentication)
}
maven {
name = 'husk-release'
url = findProperty("repository.huskrelease.url")
credentials {
username = findProperty("repository.huskrelease.username")
password = findProperty("repository.huskrelease.password")
}
}
}
publications {
mavenJava(MavenPublication) {
groupId = 'net.william278'
artifactId = 'desertwell'
version = "$rootProject.version"
artifact shadowJar
artifact javadocJar
artifact sourcesJar
}
publications {
mavenJava(MavenPublication) {
groupId = 'org.inksnow.husk'
artifactId = 'desertwell'
version = "$rootProject.version"
artifact shadowJar
artifact javadocJar
artifact sourcesJar
}
}
}

Loading…
Cancel
Save