Build script fix #2

This commit is contained in:
Calclavia 2014-09-07 11:33:37 +08:00
parent 56c582c4ba
commit 9a7708bfd3

View file

@ -163,7 +163,7 @@ repositories {
} }
dependencies { dependencies {
if (System.getenv().JOB_NAME != null && System.getenv().JOB_NAME == "Resonant-Induction-Development") if (System.getenv("TEAMCITY_BUILDCONF_NAME") == "Development")
{ {
compile group: 'dev.calclavia.universalelectricity', name: 'Universal-Electricity', version: "${rootProject.config.version.universalelectricity}", classifier: "dev" compile group: 'dev.calclavia.universalelectricity', name: 'Universal-Electricity', version: "${rootProject.config.version.universalelectricity}", classifier: "dev"
compile group: 'dev.calclavia.resonantengine', name: 'Resonant-Engine', version: "${config.version.resonantengine}", classifier: "dev" compile group: 'dev.calclavia.resonantengine', name: 'Resonant-Engine', version: "${config.version.resonantengine}", classifier: "dev"