Skip to content

Commit

Permalink
Merge branch 'ms5' into 'alpha'
Browse files Browse the repository at this point in the history
Ms5

See merge request Griefed/ServerPackCreator!526
  • Loading branch information
Griefed committed Sep 22, 2023
2 parents fdce47f + 234919a commit 70c4a2d
Show file tree
Hide file tree
Showing 21 changed files with 163 additions and 112 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![banner](https://i.griefed.de/images/2021/03/03/serverpackcreator_banner.png)](https://github.com/Griefed/ServerPackCreator)
[![banner](img/serverpackcreator_banner.png)](https://github.com/Griefed/ServerPackCreator)

[![Homepage](https://img.shields.io/badge/Griefed.de-Homepage-c0ffee?style=for-the-badge&labelColor=325358&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAACylBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////9/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f3+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v6OsnIvAAAA7XRSTlMAAQIDBAUGBwgJC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jMrQrxOBq9OMV3SOAzwmJPifBwR1OHbc1wJIH5q2sWvFcofQwivyCX/3NSAu0VO59AutgNUifji2f+O/cbL5VYLiFPHJM16LkFj+5sgBbtxbyCx3on79f52rP/+12iVvMCPHGp8TIRNS/22hI40xLku9XTxel37LMDUPCvGKP6k4n708FEvdyJlgEYqis2tmhE+dGDZr/dl0KxR8f3KqN49yCTyAkg7kVLNvgHh72YViAd9Z81JMLcakAp+bkFM+RbCsMxLn1Wnism1Hjh/YsSp2ZMtqjIjq7LW+9SWnqrzODjCQijFGPxiC71Ynp/RJrZnjehzZ+Q9fNggLmTcf8AAAAABJRU5ErkJggg==)](https://www.griefed.de)
[![Blog](https://img.shields.io/badge/Griefed.de-Blog-c0ffee?style=for-the-badge&labelColor=325358&logo=wordpress)](https://blog.griefed.de)
Expand All @@ -24,7 +24,7 @@ release distribution.
[![GitHub forks](https://img.shields.io/github/forks/Griefed/serverpackcreator?label=GitHub%20Forks&style=for-the-badge&logo=Github&labelColor=325358&color=c0ffee)](https://github.com/Griefed/ServerPackCreator)
[![GitHub contributors](https://img.shields.io/github/contributors/Griefed/ServerPackCreator?color=c0ffee&label=Contributors&logo=GitHub&logoColor=white&style=for-the-badge&labelColor=325358)](https://github.com/Griefed/ServerPackCreator/graphs/contributors)

**ServerPackCreator creates a server pack from any given Forge, Fabric, Quilt or LegacyFabric modpack.**
**ServerPackCreator creates a server pack from any given Forge, Fabric, Quilt, LegacyFabric and NeoForge modpack.**

**Whenever you are working on an update to your modpack, you simply run ServerPackCreator and BAM! You've got yourself a
server pack for your new modpack version.**
Expand All @@ -41,7 +41,7 @@ into the world of programming. And here we are.

##### Required:

* Using the JAR-file release requires Java 17.
* Using the JAR-file release requires Java 21.
* Working internet connection recommended.

##### Note:
Expand Down Expand Up @@ -141,6 +141,7 @@ ServerPackCreator also has a webservice which you can run with the `-web`-argume
- **Fabric**
- **LegacyFabric**
- **Quilt**
- **NeoForge**
6. Use Minecraft **snapshots** and **pre-releases**
- Per default, only regular releases enabled
7. Let ServerPackCreator **install the modloader-server** for your server pack, for immediate testing and debugging after generation!
Expand Down
17 changes: 12 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import de.griefed.common.gradle.LicenseAgreementRenderer
import de.griefed.common.gradle.SubprojectLicenseFilter
import org.gradle.plugins.ide.idea.model.IdeaLanguageLevel
import java.io.FileInputStream
import java.util.*

plugins {
idea
Expand All @@ -9,15 +11,20 @@ plugins {
id("com.github.jk1.dependency-license-report")
}

val props = Properties()
FileInputStream(file("gradle.properties")).use {
props.load(it)
}

idea {
project {
languageLevel = IdeaLanguageLevel("17")
jdkName = "17"
languageLevel = IdeaLanguageLevel(props.getProperty("jdkVersion"))
jdkName = props.getProperty("jdkVersion")
modules.forEach {
it.isDownloadJavadoc = true
it.isDownloadSources = true
it.languageLevel = IdeaLanguageLevel("17")
it.jdkName = "17"
it.languageLevel = IdeaLanguageLevel(props.getProperty("jdkVersion"))
it.jdkName = props.getProperty("jdkVersion")
}
}
}
Expand Down Expand Up @@ -58,7 +65,7 @@ licenseReport {
SubprojectLicenseFilter()
)

renderers = arrayOf<com.github.jk1.license.render.ReportRenderer>(
renderers = arrayOf(
com.github.jk1.license.render.InventoryHtmlReportRenderer("index.html", "Dependency Licences"),
com.github.jk1.license.render.InventoryMarkdownReportRenderer("licences.md", "Dependency Licenses"),
LicenseAgreementRenderer("LICENSE-AGREEMENT")
Expand Down
6 changes: 0 additions & 6 deletions buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ dependencies {
tasks.compileKotlin<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
logger.lifecycle("Configuring $name with version ${project.getKotlinPluginVersion()} in project ${project.name}")
kotlinOptions {
val list = freeCompilerArgs.toMutableList()
list.add("-Xjsr305=strict")
freeCompilerArgs = list.toList()
allWarningsAsErrors = false
jvmTarget = props.getProperty("jdkVersion")
languageVersion = props.getProperty("kotlinMajor")
Expand All @@ -48,9 +45,6 @@ tasks.compileKotlin<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
tasks.compileTestKotlin<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
logger.lifecycle("Configuring $name with version ${project.getKotlinPluginVersion()} in project ${project.name}")
kotlinOptions {
val list = freeCompilerArgs.toMutableList()
list.add("-Xjsr305=strict")
freeCompilerArgs = list.toList()
allWarningsAsErrors = false
jvmTarget = props.getProperty("jdkVersion")
languageVersion = props.getProperty("kotlinMajor")
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version("0.4.0")
id("org.gradle.toolchains.foojay-resolver-convention") version("0.5.0")
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,14 @@ package de.griefed.common.gradle

import com.github.jk1.license.ModuleData
import com.github.jk1.license.ProjectData
import com.github.jk1.license.filter.LicenseBundleNormalizer
import com.github.jk1.license.render.CsvReportRenderer
import com.github.jk1.license.render.InventoryHtmlReportRenderer
import com.github.jk1.license.render.ReportRenderer

/**
* Fix for https://github.com/jk1/Gradle-License-Report/issues/187<br>
* [bblonski/SubprojectLicenseFilter.kt](https://gist.github.com/bblonski/49c25882411817a007577ff486ae12fe)
*/
class SubprojectLicenseFilter : com.github.jk1.license.filter.DependencyFilter {
override fun filter(source: ProjectData): ProjectData {
val firstLevelDependencies = source.project.subprojects.flatMap {
val firstLevelDependencies = source.project.subprojects.flatMap { it ->
it.configurations.filter { it.isCanBeResolved }.flatMap {
it.resolvedConfiguration.firstLevelModuleDependencies
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repositories {
}

tasks.withType<DokkaTask>().configureEach {
outputDirectory.set(buildDir.resolve("dokka"))
outputDirectory.set(layout.buildDirectory.asFile.get().resolve("dokka"))
dokkaSourceSets {
configureEach {
documentedVisibilities.set(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ publishing {
artifact(tasks["javadocJar"])
pom {
name.set("ServerPackCreator")
description.set("ServerPackCreators API, to create server packs from Forge, Fabric, Quilt and LegacyFabric modpacks.")
description.set("ServerPackCreators API, to create server packs from Forge, Fabric, Quilt, LegacyFabric and NeoForge modpacks.")
url.set("https://git.griefed.de/Griefed/ServerPackCreator")

licenses {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ if (KOTLIN_VERSION != embeddedMajorAndMinorKotlinVersion) {
tasks.compileKotlin<KotlinCompile> {
logger.lifecycle("Configuring $name with version ${project.getKotlinPluginVersion()} in project ${project.name}")
kotlinOptions {
@Suppress("SpellCheckingInspection")
val list = freeCompilerArgs.toMutableList()
list.add("-Xjsr305=strict")
freeCompilerArgs = list.toList()
allWarningsAsErrors = false
jvmTarget = JDK_VERSION
languageVersion = KOTLIN_VERSION
Expand All @@ -46,10 +42,6 @@ tasks.compileKotlin<KotlinCompile> {
tasks.compileTestKotlin<KotlinCompile> {
logger.lifecycle("Configuring $name with version ${project.getKotlinPluginVersion()} in project ${project.name}")
kotlinOptions {
@Suppress("SpellCheckingInspection")
val list = freeCompilerArgs.toMutableList()
list.add("-Xjsr305=strict")
freeCompilerArgs = list.toList()
allWarningsAsErrors = false
jvmTarget = JDK_VERSION
languageVersion = KOTLIN_VERSION
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ kotlin {
compilations.all {
kotlinOptions.allWarningsAsErrors = false
kotlinOptions.apiVersion = KOTLIN_VERSION
val compilerArgs = kotlinOptions.freeCompilerArgs.toMutableList()
compilerArgs.add("-Xjsr305=strict")
kotlinOptions.freeCompilerArgs = compilerArgs.toList()
kotlinOptions.jvmTarget = JDK_VERSION
kotlinOptions.languageVersion = KOTLIN_VERSION
jvmToolchain {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
import org.gradle.api.tasks.Copy
import org.gradle.kotlin.dsl.register
import org.gradle.kotlin.dsl.repositories
import org.gradle.kotlin.dsl.version
import org.siouan.frontendgradleplugin.infrastructure.gradle.RunNpm
import java.io.File

plugins {
id("org.siouan.frontend-jdk11")
Expand All @@ -20,8 +15,6 @@ frontend {
nodeInstallDirectory.set(project.layout.projectDirectory.dir("node"))

yarnEnabled.set(false)
//yarnVersion = "1.22.11"
//yarnInstallDirectory = file("${projectDir}/frontend/yarn")

cleanScript.set("run clean")
assembleScript.set("run build")
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
1 change: 0 additions & 1 deletion gradlew.bat
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,3 @@ exit /b %EXIT_CODE%
if "%OS%"=="Windows_NT" endlocal

:omega

2 changes: 1 addition & 1 deletion licenses/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
<div class='header'>
<h1>serverpackcreator dev</h1>
<h2>Dependency License Report</h2>
<h2 class='timestamp'><em>2023-09-19 20:46:40 MESZ</em>.</h2></div>
<h2 class='timestamp'><em>2023-09-21 20:47:08 MESZ</em>.</h2></div>
<h3>Dependency Licences</h3>
<ul>
<li><a class='license' href='#Dependency_Licences_Apache_License,_Version_2.0'><span class='name'>Apache License, Version 2.0</span> <span class='badge'>31</span></a></li>
Expand Down
2 changes: 1 addition & 1 deletion licenses/licences.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

# Dependency Licenses
## Dependency License Report
_2023-09-19 20:46:41 MESZ_
_2023-09-21 20:47:08 MESZ_
## Apache License, Version 2.0

**1** **Group:** `com.cronutils` **Name:** `cron-utils` **Version:** `9.2.1`
Expand Down
7 changes: 3 additions & 4 deletions serverpackcreator-api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ repositories {
}

kotlin {
@Suppress("UNUSED_VARIABLE")
sourceSets {
val commonMain by getting {
dependencies {
Expand All @@ -31,7 +30,7 @@ kotlin {
dependencies {
implementation("org.jetbrains.kotlin:kotlin-bom")
implementation("org.jetbrains.kotlin:kotlin-stdlib")
implementation(files("$buildDir/resources/"))
implementation(files("${layout.buildDirectory.asFile.get()}/resources/"))
api("de.comahe.i18n4k:i18n4k-core-jvm:0.5.0")
api("com.electronwill.night-config:toml:3.6.6")
api("com.fasterxml.jackson.core:jackson-databind:2.15.0")
Expand Down Expand Up @@ -86,8 +85,8 @@ tasks.jvmProcessResources {
//Fix resources missing in multiplatform jvm inDev run https://youtrack.jetbrains.com/issue/KTIJ-16582/Consumer-Kotlin-JVM-library-cannot-access-a-Kotlin-Multiplatform-JVM-target-resources-in-multi-module-Gradle-project
tasks.register<Copy>("fixMissingResources") {
dependsOn(tasks.jvmProcessResources)
from("$buildDir/processedResources/jvm/main")
into("$buildDir/resources/")
from("${layout.buildDirectory.asFile.get()}/processedResources/jvm/main")
into("${layout.buildDirectory.asFile.get()}/resources/")
}

tasks.dokkaHtml {
Expand Down
16 changes: 8 additions & 8 deletions serverpackcreator-app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ dependencies {
api(project(":serverpackcreator-gui"))
api(project(":serverpackcreator-web"))
api(project(":serverpackcreator-updater"))
api("de.griefed:versionchecker:1.1.5")
api("de.griefed:versionchecker:1.1.9")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.9.3")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.9.3")
}
Expand All @@ -42,15 +42,15 @@ tasks.clean {
}

task("copyDependencies", Copy::class) {
from(configurations.runtimeClasspath).into("$buildDir/jars")
from(configurations.runtimeClasspath).into("${layout.buildDirectory.asFile.get()}/jars")
}

task("copyJar", Copy::class) {
from(tasks.jar).into("$buildDir/jars")
from(tasks.jar).into("${layout.buildDirectory.asFile.get()}/jars")
}

tasks.register<Delete>("cleanTmpPackager") {
delete("$buildDir/tmp/jpackager")
delete("${layout.buildDirectory.asFile.get()}/tmp/jpackager")
}

// https://docs.oracle.com/en/java/javase/14/docs/specs/man/jpackage.html
Expand All @@ -62,7 +62,7 @@ tasks.jpackage {
val ver: String = project.version.toString()
dependsOn("build", "copyDependencies", "copyJar", "cleanTmpPackager")
aboutUrl = "https://www.griefed.de/#/serverpackcreator"
appDescription = "Create server packs from Minecraft Forge, Fabric, Quilt or LegacyFabric modpacks."
appDescription = "Create server packs from Minecraft Forge, Fabric, Quilt, LegacyFabric and NeoForge modpacks."
appName = "ServerPackCreator"
appVersion = if (ver == "dev") {
val current = LocalDate.now().toString().split("-")
Expand All @@ -73,16 +73,16 @@ tasks.jpackage {
ver
}
copyright = "Copyright (C) ${Calendar.getInstance().get(Calendar.YEAR)} Griefed"
destination = "$buildDir/dist"
destination = "${layout.buildDirectory.asFile.get()}/dist"
icon = File(packagerResources, "app.png").path
input = "$buildDir/jars"
input = "${layout.buildDirectory.asFile.get()}/jars"
javaOptions = listOf("-Dfile.encoding=UTF-8", "-Dlog4j2.formatMsgNoLookups=true")
licenseFile = parent.path + "/licenses/LICENSE-AGREEMENT"
mainJar = tasks.jar.get().archiveFileName.get()
mainClass = "de.griefed.serverpackcreator.app.ServerPackCreatorKt"
resourceDir = packagerResources.path
runtimeImage = System.getProperty("java.home")
temp = "$buildDir/tmp/jpackager"
temp = "${layout.buildDirectory.asFile.get()}/tmp/jpackager"
vendor = "griefed.de"
verbose = true
mac {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ open class ScrollTextField(
private val undoManager = UndoManager()
val suggestionProvider: SuggestionProvider?

var isEditable: Boolean
get() {
return textField.isEditable
}
set(value) {
textField.isEditable = value
}
var text: String
get() {
return textField.text
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import de.griefed.serverpackcreator.gui.components.TabTitle
import de.griefed.serverpackcreator.gui.utilities.DialogUtilities
import de.griefed.serverpackcreator.gui.window.configs.ConfigEditor
import de.griefed.serverpackcreator.gui.window.configs.TabbedConfigsTab
import java.awt.FlowLayout
import java.awt.event.MouseAdapter
import java.awt.event.MouseEvent
import javax.swing.*
Expand All @@ -36,7 +35,6 @@ import javax.swing.*
*
* @author Griefed
*/
@Suppress("unused")
class ConfigEditorTitle(
private val guiProps: GuiProps,
private val tabbedConfigsTab: TabbedConfigsTab,
Expand Down
Loading

0 comments on commit 70c4a2d

Please sign in to comment.