project: Add modernizer

This commit is contained in:
Owain van Brakel
2020-04-08 15:16:38 +02:00
parent 3c6e2b057b
commit 05513a6bed
14 changed files with 36 additions and 34 deletions

View File

@@ -29,6 +29,7 @@ import org.ajoberstar.grgit.Grgit
buildscript {
repositories {
gradlePluginPortal()
mavenLocal()
maven(url = "https://raw.githubusercontent.com/open-osrs/hosting/master")
}
dependencies {
@@ -43,6 +44,7 @@ plugins {
id(Plugins.versions.first) version Plugins.versions.second
id(Plugins.latestVersion.first) version Plugins.latestVersion.second
id(Plugins.grgit.first) version Plugins.grgit.second
id("com.simonharrer.modernizer") version "1.8.0-1" apply false
application
}
@@ -112,6 +114,9 @@ subprojects {
isIgnoreFailures = false
}
}
if (this.name == "runelite-client" || this.name == "runelite-api") {
apply(plugin = "com.simonharrer.modernizer")
}
configure<PublishingExtension> {
repositories {