Build script cleanup/updates.

This commit is contained in:
wizjany 2020-07-02 19:09:09 -04:00
parent d73dc6d719
commit 5b8eef92b8
3 changed files with 3 additions and 3 deletions

View File

@ -21,6 +21,6 @@
} catch (e: Exception) { } catch (e: Exception) {
logger.warn("Error getting commit hash", e) logger.warn("Error getting commit hash", e)
"no_git_id" "no.git.id"
} }
} }

View File

@ -7,7 +7,7 @@
repositories { repositories {
mavenCentral() mavenCentral()
maven { url = uri("https://maven.sk89q.com/repo/") } maven { url = uri("https://maven.enginehub.org/repo/") }
maven { url = uri("https://oss.sonatype.org/content/repositories/snapshots/") } maven { url = uri("https://oss.sonatype.org/content/repositories/snapshots/") }
} }
configurations.all { configurations.all {

View File

@ -28,7 +28,7 @@
apply(plugin = "com.jfrog.artifactory") apply(plugin = "com.jfrog.artifactory")
apply(plugin = "net.minecrell.licenser") apply(plugin = "net.minecrell.licenser")
ext["internalVersion"] = "$version;${rootProject.ext["gitCommitHash"]}" ext["internalVersion"] = "$version+${rootProject.ext["gitCommitHash"]}"
configure<JavaPluginConvention> { configure<JavaPluginConvention> {
sourceCompatibility = JavaVersion.VERSION_1_8 sourceCompatibility = JavaVersion.VERSION_1_8