mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-15 07:39:00 -04:00
Build: warn when no api key is specified
This commit is contained in:
parent
4469f73d1a
commit
4eaea55b9b
@ -76,6 +76,7 @@ def getCFApiKey = {
|
|||||||
if(curseforgeKeyFile.canRead() && curseforgeKeyFile.isFile()) {
|
if(curseforgeKeyFile.canRead() && curseforgeKeyFile.isFile()) {
|
||||||
return curseforgeKeyFile.text;
|
return curseforgeKeyFile.text;
|
||||||
}
|
}
|
||||||
|
logger.warn('BUILD: You have no CurseForge key, the curseforge api will get disabled !');
|
||||||
return "DUMMY";
|
return "DUMMY";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user