Skip to content

Commit 4125382

Browse files
committed
Fix kotlin sourceset not being included due to broken stonecutter
1 parent 41fd559 commit 4125382

File tree

5 files changed

+6
-23
lines changed

5 files changed

+6
-23
lines changed

build.gradle.kts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ val isForgeLike = isNeoforge || isForge
2020
val mcVersion = stonecutter.current.version
2121

2222
group = "dev.isxander"
23-
val versionWithoutMC = "3.4.3"
23+
val versionWithoutMC = "3.4.4"
2424
version = "$versionWithoutMC+${stonecutter.current.project}"
2525

2626
val snapshotVer = "${grgit.branch.current().name.replace('/', '.')}-SNAPSHOT"
@@ -222,14 +222,7 @@ tasks {
222222
dependsOn("publishMods")
223223
dependsOn("publish")
224224
}
225-
}
226225

227-
java {
228-
targetCompatibility = JavaVersion.VERSION_17
229-
sourceCompatibility = JavaVersion.VERSION_17
230-
}
231-
232-
tasks {
233226
withType<JavaCompile> {
234227
options.release.set(findProperty("java.version")!!.toString().toInt())
235228
}

changelog.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# YetAnotherConfigLib 3.4.3
1+
# YetAnotherConfigLib 3.4.4
22

33
This build supports the following versions:
44
- Fabric 1.20.1
@@ -10,14 +10,4 @@ This build supports the following versions:
1010

1111
## Bug Fixes
1212

13-
- Fix YACL's metadata not displaying properly in MultiMC and its forks.
14-
- Fix (Neo)Forge throwing an unusual error when a user accidentally puts YACL for fabric on forge.
15-
- Fix access transformer not being present on NeoForge builds, causing crashes.
16-
- Fix right mouse button not propagating to controllers.
17-
([#180](https://github.com/isXander/YetAnotherConfigLib/pull/180), thanks Crendgrim)
18-
19-
## Translation Updates
20-
21-
- Add Spanish translation. ([#178](https://github.com/isXander/YetAnotherConfigLib/pull/178), thanks zeedif)
22-
23-
13+
- Fix Kotlin DSL not being included

settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ pluginManagement {
1313
}
1414

1515
plugins {
16-
id("dev.kikugie.stonecutter") version "0.3.7"
16+
id("dev.kikugie.stonecutter") version "0.3.5"
1717
}
1818

1919
extensions.configure<StonecutterSettings> {

src/main/java/dev/isxander/yacl3/gui/ElementListWidgetExt.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ public void render(GuiGraphics graphics, int mouseX, int mouseY, float delta)
8282

8383
/*? if >1.20.1 { */
8484
@Override
85+
/*?}*/
8586
protected boolean isValidMouseClick(int button) {
8687
return button == InputConstants.MOUSE_BUTTON_LEFT || button == InputConstants.MOUSE_BUTTON_RIGHT;
8788
}
88-
/*?}*/
8989

9090
@Override
9191
public boolean mouseClicked(double mouseX, double mouseY, int button) {

src/main/java/dev/isxander/yacl3/gui/OptionListWidget.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public boolean mouseScrolled(double mouseX, double mouseY, /*? if >1.20.2 {*/ do
169169

170170
@Override
171171
public boolean mouseDragged(double mouseX, double mouseY, int button, double deltaX, double deltaY) {
172-
if (this.getFocused() != null && this.isDragging() && isValidClickButton(button)) {
172+
if (this.getFocused() != null && this.isDragging() && isValidMouseClick(button)) {
173173
return this.getFocused().mouseDragged(mouseX, mouseY, button, deltaX, deltaY);
174174
}
175175
return super.mouseDragged(mouseX, mouseY, button, deltaX, deltaY);

0 commit comments

Comments
 (0)