This commit is contained in:
parent
11339c21d9
commit
b837ebbe72
|
@ -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()
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue