bootstrap: use jshell
This commit is contained in:
@@ -15,6 +15,7 @@ class BootstrapPlugin : Plugin<Project> {
|
|||||||
bootstrapDependencies(project(":runescape-api"))
|
bootstrapDependencies(project(":runescape-api"))
|
||||||
bootstrapDependencies(project(":http-api"))
|
bootstrapDependencies(project(":http-api"))
|
||||||
bootstrapDependencies(project(":runelite-client"))
|
bootstrapDependencies(project(":runelite-client"))
|
||||||
|
bootstrapDependencies(project(":runelite-jshell"))
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.register<BootstrapTask>("bootstrapStaging", "staging")
|
tasks.register<BootstrapTask>("bootstrapStaging", "staging")
|
||||||
@@ -30,6 +31,7 @@ class BootstrapPlugin : Plugin<Project> {
|
|||||||
dependsOn(project(":runelite-api").tasks["publish"])
|
dependsOn(project(":runelite-api").tasks["publish"])
|
||||||
dependsOn(project(":runescape-api").tasks["publish"])
|
dependsOn(project(":runescape-api").tasks["publish"])
|
||||||
dependsOn(project(":http-api").tasks["publish"])
|
dependsOn(project(":http-api").tasks["publish"])
|
||||||
|
dependsOn(project(":runelite-jshell").tasks["publish"])
|
||||||
|
|
||||||
doLast {
|
doLast {
|
||||||
copy {
|
copy {
|
||||||
@@ -41,7 +43,8 @@ class BootstrapPlugin : Plugin<Project> {
|
|||||||
"${buildDir}/repo/.",
|
"${buildDir}/repo/.",
|
||||||
"${parent?.projectDir}/runelite-api/build/repo/.",
|
"${parent?.projectDir}/runelite-api/build/repo/.",
|
||||||
"${parent?.projectDir}/http-api/build/repo/.",
|
"${parent?.projectDir}/http-api/build/repo/.",
|
||||||
"${parent?.projectDir}/runescape-api/build/repo/."
|
"${parent?.projectDir}/runescape-api/build/repo/.",
|
||||||
|
"${parent?.projectDir}/runelite-jshell/build/repo/."
|
||||||
)
|
)
|
||||||
into("${buildDir}/bootstrap/repo/${type}")
|
into("${buildDir}/bootstrap/repo/${type}")
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -47,7 +47,8 @@ open class BootstrapTask @Inject constructor(@Input val type: String) : DefaultT
|
|||||||
if (it.file.name.contains("runelite-client") ||
|
if (it.file.name.contains("runelite-client") ||
|
||||||
it.file.name.contains("http-api") ||
|
it.file.name.contains("http-api") ||
|
||||||
it.file.name.contains("runescape-api") ||
|
it.file.name.contains("runescape-api") ||
|
||||||
it.file.name.contains("runelite-api")) {
|
it.file.name.contains("runelite-api") ||
|
||||||
|
it.file.name.contains("runelite-jshell")) {
|
||||||
path = "https://github.com/open-osrs/hosting/raw/master/${type}/${it.file.name}"
|
path = "https://github.com/open-osrs/hosting/raw/master/${type}/${it.file.name}"
|
||||||
} else if (it.file.name.contains("injection-annotations")) {
|
} else if (it.file.name.contains("injection-annotations")) {
|
||||||
path = "https://github.com/open-osrs/hosting/raw/master/" + group.replace(".", "/") + "/${name}/$version/${it.file.name}"
|
path = "https://github.com/open-osrs/hosting/raw/master/" + group.replace(".", "/") + "/${name}/$version/${it.file.name}"
|
||||||
|
|||||||
@@ -23,6 +23,7 @@
|
|||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
group = "com.openosrs"
|
||||||
description = "RuneLite JShell"
|
description = "RuneLite JShell"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|||||||
Reference in New Issue
Block a user