Skip to content

Commit 869c723

Browse files
committed
Changes synced with 1.15.2 branch.
Signed-off-by: Pavel Erokhin (MairwunNx) <MairwunNx@gmail.com>
1 parent aa1fb99 commit 869c723

File tree

7 files changed

+58
-33
lines changed

7 files changed

+58
-33
lines changed

build.gradle

+34-20
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ apply(plugin: "net.minecraftforge.gradle")
2626
apply(plugin: "kotlin")
2727
apply(plugin: "kotlinx-serialization")
2828

29+
String packagesToken = new String(package_public_token.decodeBase64())
30+
2931
version = module_version
3032
group = "com.mairwunnx.$module_id"
3133
archivesBaseName = module_name
@@ -73,40 +75,52 @@ minecraft {
7375
repositories {
7476
jcenter()
7577
mavenCentral()
76-
maven { url("https://minecraft.curseforge.com/api/maven/") }
7778
maven { url("https://libraries.minecraft.net") }
7879
maven { url("https://jitpack.io") }
80+
maven {
81+
name = "GitHubPackages"
82+
url = uri "https://maven.pkg.github.com/projectessentials/projectessentials-core"
83+
credentials {
84+
username = "MairwunNx@gmail.com"
85+
password = packagesToken
86+
}
87+
}
88+
maven {
89+
name = "GitHubPackages"
90+
url = uri "https://maven.pkg.github.com/projectessentials/projectessentials-permissions"
91+
credentials {
92+
username = "MairwunNx@gmail.com"
93+
password = packagesToken
94+
}
95+
}
96+
maven {
97+
name = "GitHubPackages"
98+
url = uri "https://maven.pkg.github.com/ProjectEssentials/ProjectEssentials-Cooldown"
99+
credentials {
100+
username = "MairwunNx@gmail.com"
101+
password = packagesToken
102+
}
103+
}
79104
}
80105

81106
dependencies {
107+
implementation 'com.mairwunnx.project_essentials_core:ProjectEssentials-Core:1.14.4-1.3.0'
108+
implementation 'com.mairwunnx.project_essentials_permissions:ProjectEssentials-Permissions:1.14.4-1.2.1'
109+
implementation 'com.mairwunnx.project_essentials_cooldown:ProjectEssentials-Cooldown:1.14.4-1.0.4'
110+
82111
minecraft(group: "net.minecraftforge", name: "forge", version: forge_version)
83-
compile(group: "com.mojang", name: "brigadier", version: brigadier_version)
84-
compile(
112+
implementation(group: "com.mojang", name: "brigadier", version: brigadier_version)
113+
implementation(
85114
group: "org.jetbrains.kotlinx",
86115
name: "kotlinx-serialization-runtime",
87116
version: kotlinx_serialization_version
88117
)
89-
compile(
118+
implementation(
90119
group: "org.jetbrains.kotlin",
91120
name: "kotlin-stdlib-$kotlin_jdk_version_target",
92121
version: kotlin_version
93122
)
94-
compile(
95-
group: "com.github.projectessentials",
96-
name: "ProjectEssentials-Permissions",
97-
version: ess_perm_version
98-
)
99-
compile(
100-
group: "com.github.projectessentials",
101-
name: "ProjectEssentials-Core",
102-
version: ess_core_version
103-
)
104-
compile(
105-
group: "com.github.projectessentials",
106-
name: "ProjectEssentials-Cooldown",
107-
version: ess_cooldown_version
108-
)
109-
compile("org.zeroturnaround:zt-zip:$zt_zip_version")
123+
implementation("org.zeroturnaround:zt-zip:$zt_zip_version")
110124
embed("org.zeroturnaround:zt-zip:$zt_zip_version")
111125
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlinx_coroutines_core_version")
112126
embed("org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlinx_coroutines_core_version")

changelog.md

+12
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.14.4-1.0.2] - 2020-03-18
11+
12+
### Added
13+
- Project Essentials dependencies added to `build.gradle`.
14+
15+
### Changed
16+
- Kotlin version updated to `1.3.70`.
17+
- KotlinX serialization version updated to `0.20.0`. [Fixes crash on server startup]
18+
19+
### Removed
20+
- Essentials dependencies removed from `gradle.properties`.
21+
1022
## [1.14.4-1.0.1] - 2020-01-28
1123

1224
### Fixed

gradle.properties

+5-7
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,18 @@ kotlin.code.style=official
55
dev_run_client_path=run-client
66
dev_run_server_path=run-server
77
forge_gradle_version=3.+
8-
forge_version=1.14.4-28.1.114
8+
forge_version=1.14.4-28.2.0
99
forge_mappings_channel_type=snapshot
1010
forge_mappings_channel_version=20190719-1.14.3
1111
brigadier_version=1.0.17
1212
kotlin_jdk_version_target=jdk8
1313
project_jvm_version_target=1.8
14-
kotlin_version=1.3.61
15-
kotlinx_serialization_version=0.14.0
14+
kotlin_version=1.3.70
15+
kotlinx_serialization_version=0.20.0
1616
kotlinx_coroutines_core_version=1.3.3
1717
zt_zip_version=1.13
18-
ess_core_version=v1.14.4-1.1.+
19-
ess_perm_version=v1.14.4-1.1.+
20-
ess_cooldown_version=v1.14.4-1.0.+
21-
module_version=1.14.4-1.0.1
18+
module_version=1.14.4-1.0.2
2219
module_name=Project Essentials Backup
2320
module_id=project_essentials_backup
2421
module_vendor=MairwunNx (Pavel Erokhin)
22+
package_public_token=ZDhjMjgyNjlhM2E0ZTQ0MmM2Mjk5ZWI4YmMyZjI0YzNjOTNkMDVkZA==

readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Lightweight additional module for Essentials. Just make server and client world
66

77
### Explore
88

9-
#### [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)
9+
#### [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)
1010

1111
### Compatibility
1212

src/main/kotlin/com/mairwunnx/projectessentials/backup/EntryPoint.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class EntryPoint : EssBase() {
1616
private val logger = LogManager.getLogger()
1717

1818
init {
19-
modVersion = "1.14.4-1.0.1"
19+
modVersion = "1.14.4-1.0.2"
2020
logBaseInfo()
2121
validateForgeVersion()
2222
MinecraftForge.EVENT_BUS.register(this)

src/main/resources/META-INF/mods.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ issueTrackerURL="https://github.com/ProjectEssentials/ProjectEssentials-Backup/i
44

55
[[mods]]
66
modId="project_essentials_backup"
7-
version="1.14.4-1.0.1"
7+
version="1.14.4-1.0.2"
88
displayName="Project Essentials Backup"
99
updateJSONURL="https://raw.githubusercontent.com/ProjectEssentials/ProjectEssentials-Backup/MC-1.14.4/update.json"
1010
displayURL="https://github.com/ProjectEssentials/ProjectEssentials-Backup"

update.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
2-
"homepage": "https://github.com/ProjectEssentials/ProjectEssentials-Backup/releases/tag/v1.14.4-1.0.1",
2+
"homepage": "https://github.com/ProjectEssentials/ProjectEssentials-Backup",
33
"1.14.4": {
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",
45
"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",
56
"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"
67
},
78
"promos": {
8-
"1.14.4-latest": "1.14.4-1.0.1",
9-
"1.14.4-recommended": "1.14.4-1.0.1"
9+
"1.14.4-latest": "1.14.4-1.0.2",
10+
"1.14.4-recommended": "1.14.4-1.0.2"
1011
}
1112
}

0 commit comments

Comments
 (0)