Skip to content

Commit f2e99b6

Browse files
committed
Merge branch 'dev' into 2018.1
2 parents 0fb59a2 + 817fa11 commit f2e99b6

File tree

595 files changed

+4987
-934
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

595 files changed

+4987
-934
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Please include the following information in all issues:
2+
3+
* Minecraft Development for IntelliJ plugin version
4+
* IntelliJ version
5+
* Operating System (this has come up enough times to be important)
6+
* Target platforms
7+
* Either where the issue occurs
8+
* Or where the feature request is relevant
9+
10+
For feature requests, try to avoid vague requests. The more details there are explaining what the feature request is, how it should work,
11+
and why it would be useful, the more likely it'll be able to be add quickly. Feel free to be vague if you have a general idea that
12+
something might be cool, but you can't think of specifics, but these are less likely to be prioritized.
13+
14+
For issues, bugs, or error stack traces, always include a stack trace if there is one. Otherwise, the more information you can provide in
15+
terms of how to reproduce the problem, the more likely it'll be fixed. If there is something specific about your project, a link to the
16+
GitHub project can be very helpful.

.github/stale.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Number of days of inactivity before an issue becomes stale
2+
daysUntilStale: 30
3+
# Number of days of inactivity before a stale issue is closed
4+
daysUntilClose: 14
5+
# we only want issues
6+
only: 'issues'
7+
# Issues with these labels will never be considered stale
8+
exemptLabels:
9+
- 'status: accepted'
10+
- 'status: future'
11+
- 'status: wip'
12+
- 'type: bug'
13+
# Label to use when marking an issue as stale
14+
staleLabel: 'status: stale'
15+
# Comment to post when marking an issue as stale. Set to `false` to disable
16+
markComment: >
17+
This issue has been automatically marked as stale because it has not had
18+
recent activity. It will be closed if no further activity occurs. Thank you
19+
for your contributions.
20+
closeComment: >
21+
This issue has been automatically closed because it has not had
22+
activity in a long time. Please feel free to reopen it or create a new issue.

build.gradle.kts

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* https://minecraftdev.org
55
*
6-
* Copyright (c) 2017 minecraft-dev
6+
* Copyright (c) 2018 minecraft-dev
77
*
88
* MIT License
99
*/
@@ -87,8 +87,8 @@ val gradleToolingExtensionJar = task<Jar>(gradleToolingExtension.jarTaskName) {
8787

8888
dependencies {
8989
"kotlin"(kotlin("stdlib")) { isTransitive = false }
90-
compile(kotlin("stdlib-jre7")) { isTransitive = false }
91-
compile(kotlin("stdlib-jre8")) { isTransitive = false }
90+
compile(kotlin("stdlib-jdk7")) { isTransitive = false }
91+
compile(kotlin("stdlib-jdk8")) { isTransitive = false }
9292

9393
// Add tools.jar for the JDI API
9494
compile(files(Jvm.current().toolsJar))
@@ -132,6 +132,7 @@ publishPlugin {
132132

133133
tasks.withType<JavaCompile> {
134134
options.encoding = "UTF-8"
135+
options.compilerArgs = listOf("-proc:none")
135136
}
136137

137138
tasks.withType<KotlinCompile> {
@@ -166,7 +167,7 @@ idea {
166167
license {
167168
header = file("copyright.txt")
168169
include("**/*.java", "**/*.kt", "**/*.groovy", "**/*.gradle", "**/*.xml", "**/*.properties", "**/*.html")
169-
exclude("com/demonwav/mcdev/platform/mcp/at/gen/**", "com/demonwav/mcdev/nbt/lang/gen/**")
170+
exclude("com/demonwav/mcdev/platform/mcp/at/gen/**", "com/demonwav/mcdev/nbt/lang/gen/**", "com/demonwav/mcdev/i18n/lang/gen/**")
170171
}
171172

172173
// Credit for this intellij-rust
@@ -223,10 +224,15 @@ val generateAtPsiAndParser = generatePsiAndParser("generateAtPsiAndParser", "AtP
223224
val generateNbttLexer = generateLexer("generateNbttLexer", "NbttLexer", "nbt/lang/gen/")
224225
val generateNbttPsiAndParser = generatePsiAndParser("generateNbttPsiAndParser", "NbttParser", "nbt/lang/gen")
225226

227+
val generateI18nLexer = generateLexer("generateI18nLexer", "I18nLexer", "i18n/lang/gen/")
228+
val generateI18nPsiAndParser = generatePsiAndParser("generateI18nPsiAndParser", "I18nParser", "i18n/lang/gen")
229+
230+
val generateI18nTemplateLexer = generateLexer("generateI18nTemplateLexer", "I18nTemplateLexer", "i18n/lang/gen/")
231+
226232
val generate = task("generate") {
227233
group = "minecraft"
228234
description = "Generates sources needed to compile the plugin."
229-
dependsOn(generateAtLexer, generateAtPsiAndParser, generateNbttLexer, generateNbttPsiAndParser)
235+
dependsOn(generateAtLexer, generateAtPsiAndParser, generateNbttLexer, generateNbttPsiAndParser, generateI18nLexer, generateI18nPsiAndParser, generateI18nTemplateLexer)
230236
outputs.dir("gen")
231237
}
232238

copyright.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ Minecraft Dev for IntelliJ
22

33
https://minecraftdev.org
44

5-
Copyright (c) 2017 minecraft-dev
5+
Copyright (c) 2018 minecraft-dev
66

77
MIT License

gradle.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
#
44
# https://minecraftdev.org
55
#
6-
# Copyright (c) 2017 minecraft-dev
6+
# Copyright (c) 2018 minecraft-dev
77
#
88
# MIT License
99
#
1010
# suppress inspection "UnusedProperty" for whole file
11-
ideaVersion = 181-SNAPSHOT
11+
ideaVersion = 181-EAP-SNAPSHOT
1212
javaVersion = 1.8
1313

1414
group = com.demonwav.minecraft-dev
15-
version = 2018.1-1.1.1
15+
version = 2018.1-1.2.0
1616
downloadIdeaSources = true

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4.1-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip

license.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2017 minecraft-dev
3+
Copyright (c) 2018 minecraft-dev
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

readme.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ Minecraft Development for IntelliJ
1010
|**CircleCI**|[![Travis Build Status](https://img.shields.io/circleci/project/github/minecraft-dev/MinecraftDev/dev.svg?style=flat-square)](https://circleci.com/gh/minecraft-dev/MinecraftDev)|
1111
| **Travis** |[![CircleCI Build Status](https://img.shields.io/travis/minecraft-dev/MinecraftDev/dev.svg?style=flat-square)](https://travis-ci.org/minecraft-dev/MinecraftDev/)|
1212

13-
Info and Documentation [![Current Release](https://img.shields.io/badge/release-2018.1--1.1.1-orange.svg?style=flat-square)](https://plugins.jetbrains.com/plugin/8327)
13+
Info and Documentation [![Current Release](https://img.shields.io/badge/release-2018.1--1.2.0-orange.svg?style=flat-square)](https://plugins.jetbrains.com/plugin/8327)
1414
----------------------
1515

16-
Visit [https://minecraftdev.org](https://minecraftdev.org) for information about the project, change logs, features, FAQs, and chat.
16+
Visit [https://minecraftdev.org](https://minecraftdev.org) for some information about the project, FAQs, and chat.
1717

1818
Installation
1919
------------
@@ -66,6 +66,7 @@ Developers
6666

6767
- Project Owner - [**@DemonWav** - Kyle Wood](https://github.com/DemonWav)
6868
- [**@Minecrell**](https://github.com/Minecrell)
69+
- [**@PaleoCrafter** - Marvin Rösch](https://github.com/PaleoCrafter)
6970

7071
#### **Contributors**
7172

settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* https://minecraftdev.org
55
*
6-
* Copyright (c) 2017 minecraft-dev
6+
* Copyright (c) 2018 minecraft-dev
77
*
88
* MIT License
99
*/

src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/forge/gradle/tooling/ForgePatcherModelBuilderImpl.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* https://minecraftdev.org
55
*
6-
* Copyright (c) 2017 minecraft-dev
6+
* Copyright (c) 2018 minecraft-dev
77
*
88
* MIT License
99
*/

0 commit comments

Comments
 (0)