Skip to content

Commit

Permalink
Changes synced with 1.15.2 branch.
Browse files Browse the repository at this point in the history
Signed-off-by: Pavel Erokhin (MairwunNx) <[email protected]>
  • Loading branch information
MairwunNx committed Mar 18, 2020
1 parent aa1fb99 commit 869c723
Show file tree
Hide file tree
Showing 7 changed files with 58 additions and 33 deletions.
54 changes: 34 additions & 20 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ apply(plugin: "net.minecraftforge.gradle")
apply(plugin: "kotlin")
apply(plugin: "kotlinx-serialization")

String packagesToken = new String(package_public_token.decodeBase64())

version = module_version
group = "com.mairwunnx.$module_id"
archivesBaseName = module_name
Expand Down Expand Up @@ -73,40 +75,52 @@ minecraft {
repositories {
jcenter()
mavenCentral()
maven { url("https://minecraft.curseforge.com/api/maven/") }
maven { url("https://libraries.minecraft.net") }
maven { url("https://jitpack.io") }
maven {
name = "GitHubPackages"
url = uri "https://maven.pkg.github.com/projectessentials/projectessentials-core"
credentials {
username = "[email protected]"
password = packagesToken
}
}
maven {
name = "GitHubPackages"
url = uri "https://maven.pkg.github.com/projectessentials/projectessentials-permissions"
credentials {
username = "[email protected]"
password = packagesToken
}
}
maven {
name = "GitHubPackages"
url = uri "https://maven.pkg.github.com/ProjectEssentials/ProjectEssentials-Cooldown"
credentials {
username = "[email protected]"
password = packagesToken
}
}
}

dependencies {
implementation 'com.mairwunnx.project_essentials_core:ProjectEssentials-Core:1.14.4-1.3.0'
implementation 'com.mairwunnx.project_essentials_permissions:ProjectEssentials-Permissions:1.14.4-1.2.1'
implementation 'com.mairwunnx.project_essentials_cooldown:ProjectEssentials-Cooldown:1.14.4-1.0.4'

minecraft(group: "net.minecraftforge", name: "forge", version: forge_version)
compile(group: "com.mojang", name: "brigadier", version: brigadier_version)
compile(
implementation(group: "com.mojang", name: "brigadier", version: brigadier_version)
implementation(
group: "org.jetbrains.kotlinx",
name: "kotlinx-serialization-runtime",
version: kotlinx_serialization_version
)
compile(
implementation(
group: "org.jetbrains.kotlin",
name: "kotlin-stdlib-$kotlin_jdk_version_target",
version: kotlin_version
)
compile(
group: "com.github.projectessentials",
name: "ProjectEssentials-Permissions",
version: ess_perm_version
)
compile(
group: "com.github.projectessentials",
name: "ProjectEssentials-Core",
version: ess_core_version
)
compile(
group: "com.github.projectessentials",
name: "ProjectEssentials-Cooldown",
version: ess_cooldown_version
)
compile("org.zeroturnaround:zt-zip:$zt_zip_version")
implementation("org.zeroturnaround:zt-zip:$zt_zip_version")
embed("org.zeroturnaround:zt-zip:$zt_zip_version")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlinx_coroutines_core_version")
embed("org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlinx_coroutines_core_version")
Expand Down
12 changes: 12 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.14.4-1.0.2] - 2020-03-18

### Added
- Project Essentials dependencies added to `build.gradle`.

### Changed
- Kotlin version updated to `1.3.70`.
- KotlinX serialization version updated to `0.20.0`. [Fixes crash on server startup]

### Removed
- Essentials dependencies removed from `gradle.properties`.

## [1.14.4-1.0.1] - 2020-01-28

### Fixed
Expand Down
12 changes: 5 additions & 7 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,18 @@ kotlin.code.style=official
dev_run_client_path=run-client
dev_run_server_path=run-server
forge_gradle_version=3.+
forge_version=1.14.4-28.1.114
forge_version=1.14.4-28.2.0
forge_mappings_channel_type=snapshot
forge_mappings_channel_version=20190719-1.14.3
brigadier_version=1.0.17
kotlin_jdk_version_target=jdk8
project_jvm_version_target=1.8
kotlin_version=1.3.61
kotlinx_serialization_version=0.14.0
kotlin_version=1.3.70
kotlinx_serialization_version=0.20.0
kotlinx_coroutines_core_version=1.3.3
zt_zip_version=1.13
ess_core_version=v1.14.4-1.1.+
ess_perm_version=v1.14.4-1.1.+
ess_cooldown_version=v1.14.4-1.0.+
module_version=1.14.4-1.0.1
module_version=1.14.4-1.0.2
module_name=Project Essentials Backup
module_id=project_essentials_backup
module_vendor=MairwunNx (Pavel Erokhin)
package_public_token=ZDhjMjgyNjlhM2E0ZTQ0MmM2Mjk5ZWI4YmMyZjI0YzNjOTNkMDVkZA==
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Lightweight additional module for Essentials. Just make server and client world

### Explore

#### [Download mod](https://github.com/ProjectEssentials/ProjectEssentials-Backup/releases/download/v1.14.4-1.0.1/Project.Essentials.Backup-1.14.4-1.0.1.jar) · [Configuration](https://mairwunnx.gitbook.io/project-essentials/project-essentials-backup#configuration) · [How to install](https://mairwunnx.gitbook.io/project-essentials/project-essentials-backup#how-to-install) · [Troubleshooting](https://github.com/ProjectEssentials/ProjectEssentials-Backup/issues/new/choose) · [CurseForge](https://www.curseforge.com/minecraft/mc-mods/ProjectEssentials-Backup) · [Change log](changelog.md)
#### [Download mod](https://github.com/ProjectEssentials/ProjectEssentials-Backup/releases/download/v1.14.4-1.0.2/Project.Essentials.Backup-1.14.4-1.0.2.jar) · [Configuration](https://mairwunnx.gitbook.io/project-essentials/project-essentials-backup#configuration) · [How to install](https://mairwunnx.gitbook.io/project-essentials/project-essentials-backup#how-to-install) · [Troubleshooting](https://github.com/ProjectEssentials/ProjectEssentials-Backup/issues/new/choose) · [CurseForge](https://www.curseforge.com/minecraft/mc-mods/ProjectEssentials-Backup) · [Change log](changelog.md)

### Compatibility

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class EntryPoint : EssBase() {
private val logger = LogManager.getLogger()

init {
modVersion = "1.14.4-1.0.1"
modVersion = "1.14.4-1.0.2"
logBaseInfo()
validateForgeVersion()
MinecraftForge.EVENT_BUS.register(this)
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ issueTrackerURL="https://github.com/ProjectEssentials/ProjectEssentials-Backup/i

[[mods]]
modId="project_essentials_backup"
version="1.14.4-1.0.1"
version="1.14.4-1.0.2"
displayName="Project Essentials Backup"
updateJSONURL="https://raw.githubusercontent.com/ProjectEssentials/ProjectEssentials-Backup/MC-1.14.4/update.json"
displayURL="https://github.com/ProjectEssentials/ProjectEssentials-Backup"
Expand Down
7 changes: 4 additions & 3 deletions update.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"homepage": "https://github.com/ProjectEssentials/ProjectEssentials-Backup/releases/tag/v1.14.4-1.0.1",
"homepage": "https://github.com/ProjectEssentials/ProjectEssentials-Backup",
"1.14.4": {
"1.14.4-1.0.2": " - Changelog for 1.14.4-1.0.2 https://github.com/ProjectEssentials/ProjectEssentials-Backup/blob/MC-1.14.4/changelog.md#1144-102---2020-03-18",
"1.14.4-1.0.1": " - Changelog for 1.14.4-1.0.1 https://github.com/ProjectEssentials/ProjectEssentials-Backup/blob/MC-1.14.4/changelog.md#1144-101---2020-01-28",
"1.14.4-1.0.0": " - Changelog for 1.14.4-1.0.0 https://github.com/ProjectEssentials/ProjectEssentials-Backup/blob/MC-1.14.4/changelog.md#1144-100---2020-01-26"
},
"promos": {
"1.14.4-latest": "1.14.4-1.0.1",
"1.14.4-recommended": "1.14.4-1.0.1"
"1.14.4-latest": "1.14.4-1.0.2",
"1.14.4-recommended": "1.14.4-1.0.2"
}
}

0 comments on commit 869c723

Please sign in to comment.