Skip to content

Commit

Permalink
wip: basic build changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sekwah41 committed Feb 7, 2025
1 parent abbc05f commit ba1435b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@ An advanced portals plugin designed to have a wide range of features which are e

Check out the [Tutorial](https://advancedportals.sekwah.com/docs/intro), [List of Commands](https://advancedportals.sekwah.com/docs/commands), and [List of Portal Tags](https://advancedportals.sekwah.com/docs/portal-tags).

To be clear, the main target for this plugin is 1.13+ spigot. If you find any issues or inconsistencies with other versions please raise an issue!

# Download

- [Modrinth](https://modrinth.com/plugin/advanced-portals)
- [Bukkit](https://dev.bukkit.org/projects/advanced-portals)
- [Spigot](https://www.spigotmc.org/resources/advanced-portals.14356/)
- [Curseforge](https://www.curseforge.com/minecraft/bukkit-plugins/advanced-portals)
- [Github (Source Code)](https://github.com/sekwah41/Advanced-Portals/releases)
- [GitHub (Source Code)](https://github.com/sekwah41/Advanced-Portals/releases)

# Contributing
Please ensure that your commits are in the following style for PR's
Expand Down
10 changes: 7 additions & 3 deletions spigot/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ import java.nio.file.Files
import java.nio.file.Paths
import java.nio.file.StandardCopyOption
import java.nio.file.StandardOpenOption
import dev.s7a.gradle.minecraft.server.tasks.LaunchMinecraftServerTask

plugins {
id "com.modrinth.minotaur" version "2.+"
id 'dev.s7a.gradle.minecraft.server' version '1.1.0'
id 'dev.s7a.gradle.minecraft.server' version '3.2.1'
id 'org.jetbrains.gradle.plugin.idea-ext' version '1.1.7'
id 'com.github.johnrengelman.shadow' version '8.1.1'
}
Expand Down Expand Up @@ -193,11 +194,14 @@ tasks.named('jar') {
enabled = false
}

tasks.launchMinecraftServer.dependsOn(downloadSekCDevToolsPlugin)
task launchMinecraftServer(type: LaunchMinecraftServerTask) {

minecraftServerConfig {
dependsOn(downloadSekCDevToolsPlugin)
dependsOn("copyPlugin")
jarUrl.set('https://api.papermc.io/v2/projects/paper/versions/1.19.4/builds/550/downloads/paper-1.19.4-550.jar')
jvmArgument = ["-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005", "-DIReallyKnowWhatIAmDoingISwear=true"]

agreeEula.set(true)
}

apply from: '../curse.gradle'
Expand Down

0 comments on commit ba1435b

Please sign in to comment.