Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2e444c1

Browse files
committedJun 1, 2021
Merge branch '2020.3' into 2021.1
2 parents 0157923 + f2c4973 commit 2e444c1

File tree

4 files changed

+28
-4
lines changed

4 files changed

+28
-4
lines changed
 

‎build.gradle.kts

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
import org.cadixdev.gradle.licenser.header.HeaderStyle
1212
import org.gradle.internal.jvm.Jvm
13+
import org.gradle.internal.os.OperatingSystem
1314
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
1415

1516
plugins {
@@ -232,7 +233,7 @@ license {
232233
register("gradle") {
233234
files.from(
234235
fileTree(project.projectDir) {
235-
include("**/*.gradle.kts", "gradle.properties")
236+
include("*.gradle.kts", "gradle.properties")
236237
exclude("**/buildSrc/**", "**/build/**")
237238
}
238239
)
@@ -313,6 +314,29 @@ tasks.runIde {
313314
// systemProperty("user.country", "US")
314315
}
315316

317+
tasks.buildSearchableOptions {
318+
// not working atm
319+
enabled = false
320+
// https://youtrack.jetbrains.com/issue/IDEA-210683
321+
jvmArgs(
322+
"--illegal-access=deny",
323+
"--add-exports=java.base/jdk.internal.vm=ALL-UNNAMED",
324+
"--add-opens=java.base/java.lang=ALL-UNNAMED",
325+
"--add-opens=java.base/java.util=ALL-UNNAMED",
326+
"--add-opens=java.desktop/java.awt=ALL-UNNAMED",
327+
"--add-opens=java.desktop/java.awt.event=ALL-UNNAMED",
328+
"--add-opens=java.desktop/javax.swing=ALL-UNNAMED",
329+
"--add-opens=java.desktop/javax.swing.plaf.basic=ALL-UNNAMED",
330+
"--add-opens=java.desktop/sun.awt=ALL-UNNAMED",
331+
"--add-opens=java.desktop/sun.font=ALL-UNNAMED",
332+
"--add-opens=java.desktop/sun.swing=ALL-UNNAMED"
333+
)
334+
335+
if (OperatingSystem.current().isMacOsX) {
336+
jvmArgs("--add-opens=java.desktop/com.apple.eawt.event=ALL-UNNAMED")
337+
}
338+
}
339+
316340
// version catalogs still have rough edges as it's still experimental
317341
// this lets us get around some of that while still getting the benefits of using catalogs
318342
fun Provider<MinimalExternalModuleDependency>.text(): String {

‎gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ kotlin.code.style=official
1414
ideaVersion = 2021.1
1515
ideaVersionName = 2021.1
1616

17-
coreVersion = 1.5.10
17+
coreVersion = 1.5.11
1818
downloadIdeaSources = true
1919

2020
pluginTomlVersion = 0.2.144.3766-211
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

‎readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Minecraft Development for IntelliJ
3636
</tr>
3737
</table>
3838

39-
Info and Documentation [![Current Release](https://img.shields.io/badge/release-1.5.10-orange.svg?style=flat-square)](https://plugins.jetbrains.com/plugin/8327)
39+
Info and Documentation [![Current Release](https://img.shields.io/badge/release-1.5.11-orange.svg?style=flat-square)](https://plugins.jetbrains.com/plugin/8327)
4040
----------------------
4141

4242
<a href="https://discord.gg/j6UNcfr"><img src="https://i.imgur.com/JXu9C1G.png" height="48px"></img></a>

0 commit comments

Comments
 (0)
Please sign in to comment.