mirror of
https://github.com/GTNewHorizons/Postea.git
synced 2026-11-21 20:52:43 +00:00
Refactor api property
This commit is contained in:
1 parent
af9ad7f6cb
commit
3153201421
3 files changed
+11
-16
No files matched your search
+2
-2
@@ -232,11 +232,11 @@ task devJar(type: Jar) {
|
||||
|
||||
task apiJar(type: Jar) {
|
||||
from (sourceSets.main.allJava) {
|
||||
include apiPackage + '/**'
|
||||
include modGroup.toString().replaceAll("\\.", "/") + "/" + apiPackage.toString() + '/**'
|
||||
}
|
||||
|
||||
from (sourceSets.main.output) {
|
||||
include apiPackage + '/**'
|
||||
include modGroup.toString().replaceAll("\\.", "/") + "/" + apiPackage.toString() + '/**'
|
||||
}
|
||||
|
||||
from (sourceSets.main.resources.srcDirs) {
|
||||
|
||||
+5
-10
@@ -1,13 +1,8 @@
|
||||
modName = MyMod
|
||||
|
||||
# This is a case-sensitive string to identify your mod. Convention is to use lower case.
|
||||
modId = mymod
|
||||
|
||||
# The Information about your mod
|
||||
modName = MyMod
|
||||
modDescription = An example mod for Minecraft 1.7.10 with Forge focussed on a stable setup.
|
||||
modUrl = https://github.com/SinTh0r4s/MyMod
|
||||
modCredits =
|
||||
|
||||
# Is it used somewhere else but shadow packet name generation?
|
||||
modGroup = com.myname.mymodid
|
||||
|
||||
minecraftVersion = 1.7.10
|
||||
@@ -25,9 +20,9 @@ gradleTokenVersion = GRADLETOKEN_VERSION
|
||||
gradleTokenGroupName = GRADLETOKEN_GROUPNAME
|
||||
|
||||
# In case your mod provides an API for other mods to implement you may declare its package here. Otherwise you can
|
||||
# leave this property empty. Please use file notations!
|
||||
# Example value: com/myname/mymod/api
|
||||
apiPackage =
|
||||
# leave this property empty.
|
||||
# Example value: apiPackage = api + modGroup = com.myname.mymodid -> com.myname.mymodid.api
|
||||
apiPackage = api
|
||||
|
||||
# Provides setup for Mixins if enabled. If you don't know what mixins are: Keep it disabled!
|
||||
usesMixins = true
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
{
|
||||
"modid": "${modId}",
|
||||
"name": "${modName}",
|
||||
"description": "${modDescription}",
|
||||
"description": "An example mod for Minecraft 1.7.10 with Forge focussed on a stable setup.",
|
||||
"version": "${modVersion}",
|
||||
"mcversion": "${minecraftVersion}",
|
||||
"url": "${modUrl}",
|
||||
"url": "https://github.com/SinTh0r4s/MyMod",
|
||||
"updateUrl": "",
|
||||
"authorList": ["MyName"],
|
||||
"credits": "${modCredits}",
|
||||
"authorList": ["SinTho0r4s"],
|
||||
"credits": "",
|
||||
"logoFile": "",
|
||||
"screenshots": [],
|
||||
"dependencies": []
|
||||
|
||||
Reference in new issue
Block a user