update build
This commit is contained in:
38
build.gradle
38
build.gradle
@@ -1,5 +1,6 @@
|
||||
plugins {
|
||||
id 'fabric-loom' version "${loom_version}"
|
||||
id 'maven-publish'
|
||||
}
|
||||
|
||||
version = project.library_version
|
||||
@@ -44,3 +45,40 @@ java {
|
||||
}
|
||||
withSourcesJar()
|
||||
}
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
create("mavenJava", MavenPublication) {
|
||||
groupId = project.maven_group
|
||||
artifactId = project.archives_base_name
|
||||
version = project.version
|
||||
from components.java
|
||||
|
||||
pom {
|
||||
name = "DACL"
|
||||
description = "DumbassConfigLib is a config library used for my mods"
|
||||
url = "https://modrinth.com/mod/dacl"
|
||||
licenses {
|
||||
license {
|
||||
name = "The MIT License"
|
||||
url = "https://opensource.org/licenses/MIT"
|
||||
distribution = "repo"
|
||||
}
|
||||
}
|
||||
developers {
|
||||
developer {
|
||||
id = "kasetoatz"
|
||||
name = "KaseToatz"
|
||||
email = "kasetoatz@kasetoatz.com"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
url = uri("file:////192.168.1.100/Storage/Maven")
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -5,6 +5,6 @@ loom_version=1.13-SNAPSHOT
|
||||
|
||||
library_version=1.0
|
||||
maven_group=com.kasetoatz
|
||||
archives_base_name=DACL
|
||||
archives_base_name=dacl
|
||||
|
||||
fabric_version=0.138.0+1.21.10
|
||||
|
||||
@@ -6,6 +6,4 @@ pluginManagement {
|
||||
}
|
||||
gradlePluginPortal()
|
||||
}
|
||||
}
|
||||
|
||||
rootProject.name = "dacl"
|
||||
}
|
||||
Reference in New Issue
Block a user