Skip to content

Commit

Permalink
Retrieve JarInJar dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Gamebuster19901 committed Aug 10, 2024
1 parent df308d9 commit a33142a
Show file tree
Hide file tree
Showing 7 changed files with 513 additions and 370 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ dependencies {
implementation group: 'commons-io', name: 'commons-io', version: commonsIOVersion
implementation group: 'net.fabricmc', name: 'fabric-loom', version: loomVersion
implementation group: 'org.vineflower', name: 'vineflower', version: vineFlowerVersion
implementation group: 'com.google.code.gson', name: 'gson', version: gsonVersion
}

import org.apache.tools.ant.filters.ReplaceTokens
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ accessWidenerVersion = 2.1.0
tinyMappingsVersion = 0.3.0+
mixinVersion = 0.15.0+mixin.0.8.7
guavaVersion = 33.2.1-jre
gsonVersion = 2.11.0
providerVersion = 1.4.0.0
asmVersion = 9.7
fabricLoaderVersion = 0.16.0
Expand All @@ -15,5 +14,6 @@ fabricLoaderVersion = 0.16.0
commonsIOVersion = 2.16.1
commonsLangVersion = 3.14.0
commonsTextVersion = 1.12.0
gsonVersion = 2.10.1
vineFlowerVersion = 1.10.1
loomVersion = 1.7.2
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ enum PluginDependency implements Dependency {
COMMONS_IO("commons-io", "commons-io", "@commonsIOVersion@"),
COMMONS_LANG("org.apache.commons", "commons-lang3", "@commonsLangVersion@"),
COMMONS_TEXT("org.apache.commons", "commons-text", "@commonsTextVersion@"),
GSON("com.google.code.gson", "gson", "@gsonVersion@"),
LOOM("net.fabricmc", "fabric-loom", "@loomVersion@"),
VINEFLOWER("org.vineflower", "vineflower", "@vineFlowerVersion@");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,6 @@ public enum ProjectDependencyType {
* project's dependencies to the workspace
*/
excludedFabricDeps,

retrieveJson
}
18 changes: 3 additions & 15 deletions src/main/java/com/wildermods/workspace/WWProjectDependency.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,23 +32,11 @@
* </p>
*/
public enum WWProjectDependency implements Dependency {

commonsText(fabricDep, "org.apache.commons", "commons-text", "@commonsTextVersion@"),
accessWidener(fabricDep, "net.fabricmc", "access-widener", "@accessWidenerVersion@"),
tinyMappingsParser(fabricDep, "net.fabricmc", "tiny-mappings-parser", "@tinyMappingsVersion@"),
mixin(fabricDep, "net.fabricmc", "sponge-mixin", "@mixinVersion@"),
guava(fabricDep, "com.google.guava", "guava", "@guavaVersion@"),
gson(fabricDep, "com.google.code.gson", "gson", "@gsonVersion@"),

asm(fabricDep, "org.ow2.asm", "asm", "@asmVersion@"),
asmAnalysis(fabricDep, "org.ow2.asm", "asm-analysis", "@asmVersion@"),
asmCommons(fabricDep, "org.ow2.asm", "asm-commons", "@asmVersion@"),
asmTree(fabricDep, "org.ow2.asm", "asm-tree", "@asmVersion@"),
asmUtil(fabricDep, "org.ow2.asm", "asm-util", "@asmVersion@"),



fabricLoader(fabricImpl, "net.fabricmc", "fabric-loader", "@fabricLoaderVersion@"),
fabricLoaderDepsJson(retrieveJson, "net.fabricmc", "fabric-loader", "@fabricLoaderVersion@"),
gameProvider(fabricImpl, "com.wildermods", "provider", "@providerVersion@", "https://wildermods.com/WildermythGameProvider.git"),

;

private final ProjectDependencyType type;
Expand Down
Loading

0 comments on commit a33142a

Please sign in to comment.