Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ plugins {
id 'idea'
id 'net.minecraftforge.gradle' version '[6.0,6.2)'
id 'org.parchmentmc.librarian.forgegradle' version '1.+'
id 'maven-publish'
}

version = mod_version
Expand Down Expand Up @@ -154,3 +155,17 @@ tasks.named('jar', Jar).configure {
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
}

java {
withSourcesJar()
withJavadocJar()
}

publishing {
publications {
mavenJava(MavenPublication) {
artifactId = mod_id
from components.java
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ default boolean canUseAncientTech(Entity user)
/**
*
* @param requirementsDisabled Whether or not the requirements for having Ancient Gene to use this have been disabled
* @param player
* @param user
* @return
*/
default boolean canUseAncientTech(boolean requirementsDisabled, Entity user)
Expand Down