adjusting for usability

This commit is contained in:
Halbear
2026-05-27 22:13:12 +01:00
parent 8bf3c2bccf
commit 68e923e644
6 changed files with 35 additions and 8 deletions
+22 -1
View File
@@ -9,6 +9,9 @@ buildscript {
classpath 'org.spongepowered:mixingradle:0.7.+'
}
}
plugins {
id 'maven-publish'
}
apply plugin: 'net.minecraftforge.gradle'
apply plugin: 'org.spongepowered.mixin'
apply plugin: 'eclipse'
@@ -18,6 +21,9 @@ group = 'net.halbear.hvf'
archivesBaseName = 'hals_vehicle_framework'
java.toolchain.languageVersion = JavaLanguageVersion.of(8)
mixin{
add sourceSets.main, "hals_vehicle_framework.mixin-refmap.json"
}
minecraft {
mappings channel: 'snapshot', version: '20210309-1.16.5'
@@ -54,7 +60,7 @@ minecraft {
]
mods {
hem {
hals_vehicle_framework {
source sourceSets.main
}
}
@@ -74,3 +80,18 @@ tasks.named('jar', Jar).configure {
dependencies {
minecraft 'net.minecraftforge:forge:1.16.5-36.2.26'
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
groupId = 'net.halbear.hvf'
artifactId = 'hals_vehicle_framework'
version = '1.0'
}
}
repositories {
maven {
url = layout.buildDirectory.dir("repo")
}
}
}