|
|
@ -293,6 +293,10 @@ configure(subprojects.filter { it.isFree }) { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
tasks.build { |
|
|
|
|
|
|
|
dependsOn(":dokkaHtmlCollector") |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
val rejectVersionRegex = Regex("(?i)[._-](?:alpha|beta|rc|cr|m|dev)") |
|
|
|
val rejectVersionRegex = Regex("(?i)[._-](?:alpha|beta|rc|cr|m|dev)") |
|
|
|
|
|
|
|
|
|
|
|
tasks.dependencyUpdates { |
|
|
|
tasks.dependencyUpdates { |
|
|
@ -304,6 +308,23 @@ tasks.dependencyUpdates { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
tasks.register("publish") { |
|
|
|
|
|
|
|
dependsOn("publishDokka") |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
tasks.register<Exec>("publishDokka") { |
|
|
|
|
|
|
|
dependsOn(":dokkaHtmlCollector") |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
commandLine( |
|
|
|
|
|
|
|
"rsync", |
|
|
|
|
|
|
|
"-e", |
|
|
|
|
|
|
|
"ssh -oStrictHostKeyChecking=accept-new", |
|
|
|
|
|
|
|
"-rtz", |
|
|
|
|
|
|
|
"$buildDir/dokka/htmlCollector/", |
|
|
|
|
|
|
|
"build@docs.openrs2.dev:/srv/www/docs" |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
tasks.wrapper { |
|
|
|
tasks.wrapper { |
|
|
|
distributionType = Wrapper.DistributionType.ALL |
|
|
|
distributionType = Wrapper.DistributionType.ALL |
|
|
|
} |
|
|
|
} |
|
|
|