Skip to content

Commit

Permalink
Added as subproject
Browse files Browse the repository at this point in the history
  • Loading branch information
Nelonn committed Jul 20, 2024
1 parent 851f79c commit a55073f
Show file tree
Hide file tree
Showing 11 changed files with 8 additions and 407 deletions.
File renamed without changes.
21 changes: 0 additions & 21 deletions ModelExporter/LICENSE

This file was deleted.

3 changes: 0 additions & 3 deletions ModelExporter/README.md

This file was deleted.

32 changes: 4 additions & 28 deletions ModelExporter/build.gradle
Original file line number Diff line number Diff line change
@@ -1,21 +1,16 @@
plugins {
id 'fabric-loom' version '1.7-SNAPSHOT'
id 'maven-publish'
}

version = project.mod_version
group = project.maven_group
version = rootProject.version
group = rootProject.group

base {
archivesName = project.archives_base_name
}

repositories {
// Add repositories to retrieve artifacts from in here.
// You should only use this when depending on other mods because
// Loom adds the essential maven repositories to download Minecraft and libraries from automatically.
// See https://docs.gradle.org/current/userguide/declaring_repositories.html
// for more information about repositories.

}

loom {
Expand All @@ -39,8 +34,7 @@ dependencies {
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"

// Fabric API. This is technically optional, but you probably want it anyway.
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"

// modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
}

processResources {
Expand Down Expand Up @@ -70,21 +64,3 @@ jar {
rename { "${it}_${project.base.archivesName.get()}"}
}
}

// configure the maven publication
publishing {
publications {
create("mavenJava", MavenPublication) {
artifactId = project.archives_base_name
from components.java
}
}

// See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
repositories {
// Add repositories to publish to here.
// Notice: This block does NOT have the same function as the block in the top level.
// The repositories here will be used for publishing your artifact, not for
// retrieving dependencies.
}
}
7 changes: 1 addition & 6 deletions ModelExporter/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# Done to increase the memory available to gradle.
org.gradle.jvmargs=-Xmx1G
org.gradle.parallel=true

# Fabric Properties
# check these on https://fabricmc.net/develop
Expand All @@ -9,9 +6,7 @@ yarn_mappings=1.21+build.2
loader_version=0.15.11

# Mod Properties
mod_version=1.0.0
maven_group=com.example
archives_base_name=modid
archives_base_name=model-exporter

# Dependencies
fabric_version=0.100.3+1.21
Binary file removed ModelExporter/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
7 changes: 0 additions & 7 deletions ModelExporter/gradle/wrapper/gradle-wrapper.properties

This file was deleted.

249 changes: 0 additions & 249 deletions ModelExporter/gradlew

This file was deleted.

Loading

0 comments on commit a55073f

Please sign in to comment.