adjusting for usability
This commit is contained in:
+22
-1
@@ -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")
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user