update route
All checks were successful
Publish to snapshot maven / build (push) Successful in 24s

This commit is contained in:
moehreag 2024-06-17 16:11:12 +02:00
parent 11339c21d9
commit b837ebbe72
2 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@ plugins {
} }
group = "dev.frogmc" group = "dev.frogmc"
version = "0.0.1-alpha.4" version = "0.0.1-alpha.5"
repositories { repositories {
mavenCentral() mavenCentral()

View file

@ -134,11 +134,11 @@ open class MetaV1UpdateTask : DefaultTask() {
companion object { companion object {
private const val META_URL = "https://meta.frogmc.dev/v1/" private const val META_URL = "https://meta.frogmc.dev/v1/"
private const val UPLOAD_LOADER_URL = META_URL + "loader/versions/upload" private const val UPLOAD_LOADER_URL = META_URL + "loader/version/upload"
private const val MAVEN_URL_RELEASES = "https://maven.frogmc.dev/releases" private const val MAVEN_URL_RELEASES = "https://maven.frogmc.dev/releases"
private const val MAVEN_URL_SNAPSHOTS = "https://maven.frogmc.dev/snapshots" private const val MAVEN_URL_SNAPSHOTS = "https://maven.frogmc.dev/snapshots"
} }
} }
class MetaData(val version: String, val releaseDate: String, val libraries: List<MetaLibrary>) class MetaData(val version: String, val releaseDate: String, val libraries: List<MetaLibrary>)
class MetaLibrary(val name: String, val url: String, val size: Long, val sha1: String) class MetaLibrary(val name: String, val url: String, val size: Long, val sha1: String)