diff --git a/build.gradle b/build.gradle index a6045519..cb251070 100644 --- a/build.gradle +++ b/build.gradle @@ -120,6 +120,14 @@ project.ext.refDocZip = 'xmlcalabash-ref-' + docsVersion + '.zip' version = project.ext.distVersion // - gets turned into . in some contexts group = "com.xmlcalabash" +if (!hasProperty("sonatypeUsername")) { + ext.sonatypeUsername="" +} + +if (!hasProperty("sonatypePassword")) { + ext.sonatypePassword="" +} + def Properties versionProps = new Properties() def versionPropsFile = file("src/main/resources/etc/version.properties") versionProps['version'] = releaseVersion