-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #251 from LossyDragon/generators
Migrate VersionGen and SteamLanguageGen to Kotlin
- Loading branch information
Showing
46 changed files
with
1,557 additions
and
1,587 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.{kt,kts}] | ||
indent_size = 4 | ||
ktlint_disabled_rules=no-wildcard-imports | ||
|
||
[*.{yml,yaml}] | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="javasteam [:buildSrc:ktlintFormat]" type="GradleRunConfiguration" factoryName="Gradle" nameIsGenerated="true"> | ||
<ExternalSystemSettings> | ||
<option name="executionName" /> | ||
<option name="externalProjectPath" value="$PROJECT_DIR$" /> | ||
<option name="externalSystemIdString" value="GRADLE" /> | ||
<option name="scriptParameters" value="" /> | ||
<option name="taskDescriptions"> | ||
<list /> | ||
</option> | ||
<option name="taskNames"> | ||
<list> | ||
<option value=":buildSrc:ktlintFormat" /> | ||
</list> | ||
</option> | ||
<option name="vmOptions" /> | ||
</ExternalSystemSettings> | ||
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess> | ||
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess> | ||
<DebugAllEnabled>false</DebugAllEnabled> | ||
<RunAsTest>false</RunAsTest> | ||
<method v="2" /> | ||
</configuration> | ||
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
plugins { | ||
`kotlin-dsl` | ||
`java-gradle-plugin` | ||
id("org.jlleitschuh.gradle.ktlint") version "11.6.1" | ||
} | ||
|
||
version = "1.0.0" | ||
|
||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
dependencies { | ||
implementation(gradleApi()) | ||
|
||
// https://mvnrepository.com/artifact/commons-io/commons-io | ||
implementation("commons-io:commons-io:2.14.0") | ||
} | ||
|
||
gradlePlugin { | ||
plugins { | ||
create("steamlanguagegen") { | ||
id = "steamlanguagegen" | ||
implementationClass = "in.dragonbra.generators.steamlanguage.SteamLanguageGenPlugin" | ||
} | ||
create("projectversiongen") { | ||
id = "projectversiongen" | ||
implementationClass = "in.dragonbra.generators.versions.VersionGenPlugin" | ||
} | ||
} | ||
} |
12 changes: 0 additions & 12 deletions
12
buildSrc/src/main/groovy/in/dragonbra/steamlanguagegen/SteamLanguageGenPlugin.groovy
This file was deleted.
Oops, something went wrong.
70 changes: 0 additions & 70 deletions
70
buildSrc/src/main/groovy/in/dragonbra/steamlanguagegen/SteamLanguageGenTask.groovy
This file was deleted.
Oops, something went wrong.
30 changes: 0 additions & 30 deletions
30
buildSrc/src/main/groovy/in/dragonbra/steamlanguagegen/generator/JavaFileWriter.groovy
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.