Added api package file, testing some gradle changes
This commit is contained in:
parent
fcfc6ed1df
commit
e57f1c1e85
2 changed files with 8 additions and 2 deletions
|
@ -37,7 +37,8 @@ if (ENV.BUILD_NUMBER) {
|
||||||
minecraft {
|
minecraft {
|
||||||
version = "1.7.10-10.13.2.1351-1.7.10"
|
version = "1.7.10-10.13.2.1351-1.7.10"
|
||||||
replace "@MODVERSION@", project.version
|
replace "@MODVERSION@", project.version
|
||||||
replaceIn "Core.java"
|
replaceIn "ModInfo.java"
|
||||||
|
replaceIn "package-info.java"
|
||||||
}
|
}
|
||||||
|
|
||||||
group = 'TechReborn'
|
group = 'TechReborn'
|
||||||
|
@ -55,7 +56,7 @@ dependencies {
|
||||||
processResources
|
processResources
|
||||||
{
|
{
|
||||||
// this will ensure that this task is redone when the versions change.
|
// this will ensure that this task is redone when the versions change.
|
||||||
inputs.property "version", project.version
|
inputs.property "@MODVERSION@", project.version
|
||||||
inputs.property "mcversion", project.minecraft.version
|
inputs.property "mcversion", project.minecraft.version
|
||||||
|
|
||||||
// replace stuff in mcmod.info, nothing else
|
// replace stuff in mcmod.info, nothing else
|
||||||
|
|
5
src/main/java/techreborn/api/package-info.java
Normal file
5
src/main/java/techreborn/api/package-info.java
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
|
||||||
|
@API(apiVersion = "@MODVERSION@", owner = "techreborn", provides = "techrebornAPI")
|
||||||
|
package techreborn.api;
|
||||||
|
|
||||||
|
import cpw.mods.fml.common.API;
|
Loading…
Reference in a new issue