Skip to content
This repository has been archived by the owner on Jul 21, 2024. It is now read-only.

Commit

Permalink
Updated Build and fixed Respawn
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexeption committed Mar 22, 2022
1 parent 88f081a commit 97900ca
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 50 deletions.
24 changes: 15 additions & 9 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ buildscript {
mavenCentral()
maven {
name = "magma"
url = "https://repo.hexeption.dev/repository/magma-snapshot/"
// TEMP
url = "https://raw.githubusercontent.com/Hexeption/Magma-Repo/repository"
}
maven {
name = "forge"
Expand All @@ -19,7 +20,7 @@ buildscript {
}
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-20210515.155525-2'
classpath 'net.minecraftforge.gradle:ForgeGradle:2.3.+'
classpath 'net.nemerosa:versioning:2.7.1'
classpath "gradle.plugin.com.github.breadmoirai:github-release:2.2.9"
classpath "gradle.plugin.net.minecrell:licenser:0.4.1"
Expand Down Expand Up @@ -68,9 +69,13 @@ repositories {
name 'maven'
url 'https://mvnrepository.com/artifact/'
}
// maven {
// name 'MagmaFoundation'
// url = "https://raw.githubusercontent.com/Hexeption/Magma-Repo/repository"
// }
maven {
name 'MagmaFoundation'
url 'https://repo.hexeption.dev/repository/magma/'
name 'Spigot'
url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
}
flatDir {
dirs 'src/main/resources'
Expand All @@ -86,7 +91,7 @@ dependencies {
testCompile 'org.hamcrest:hamcrest-all:1.3'
testCompile 'org.hamcrest:hamcrest-library:1.3'
testCompile group: 'junit', name: 'junit', version: '4.12'
compile(group: 'bukkit', name: 'bukkit', version: '1.12.2-R0.1')
compile(group: 'org.bukkit', name: 'bukkit', version: '1.12.2-R0.1-SNAPSHOT')
compile 'com.conversantmedia:disruptor:1.2.14'
compile 'com.googlecode.json-simple:json-simple:1.1.1'
compile 'commons-lang:commons-lang:2.6'
Expand Down Expand Up @@ -265,10 +270,11 @@ genGradleProjects {
addTestCompileDep "org.hamcrest:hamcrest-all:1.3"
addTestCompileDep "org.hamcrest:hamcrest-library:1.3"
addCompileDep "junit:junit:4.12"
addCompileDep "bukkit:bukkit:1.12.2-R0.1"
addCompileDep "org.bukkit:bukkit:1.12.2-R0.1-SNAPSHOT"
addCompileDep "org.reflections:reflections:0.9.10"
addCompileDep "javassist:javassist:3.12.1.GA"
addRepo("MagmaFoundation", "https://repo.hexeption.dev/repository/magma/")
addRepo("MagmaFoundation", "https://raw.githubusercontent.com/Hexeption/Magma-Repo/repository")
addRepo("Spigot", "https://hub.spigotmc.org/nexus/content/repositories/snapshots/")
filter { dep -> !dep.contains("scala") }
}

Expand Down Expand Up @@ -335,7 +341,7 @@ githubRelease {
//""" }
draft false
releaseAssets = [
fileTree("build/distributions/").filter { it.name.endsWith("jar") || it.name.endsWith("zip") },
fileTree("/release/").filter { it.name.endsWith("zip") }
fileTree("build/distributions/").filter { it.name.endsWith("jar") || it.name.endsWith("zip") },
fileTree("/release/").filter { it.name.endsWith("zip") }
]
}
Loading

0 comments on commit 97900ca

Please sign in to comment.