plugins Ġ{ ĊĠ Ġid (" com . jfrog . art ifactory ") Ċ } Ċ Ċ art ifactory Ġ{ ĊĠ Ġset Context Url (" https :// oss . jfrog . org / art ifactory ") ĊĠ Ġwith Gro ovy Builder Ġ{ ĊĠĠĠ Ġ" resolve " Ġ{ ĊĠĠĠĠĠ Ġ" repository " Ġ{ ĊĠĠĠĠĠĠĠ Ġset Property (" repo Key ", Ġ" libs - release ") ĊĠĠĠĠĠĠĠ Ġset Property (" username ", ĠSystem . getProperty (" art ifactory User ")) ĊĠĠĠĠĠĠĠ Ġset Property (" password ", ĠSystem . getProperty (" art ifactory Password ")) ĊĠĠĠĠĠĠĠ Ġset Property (" maven ", Ġtrue ) ĊĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ" publish " Ġ{ ĊĠĠĠĠĠ Ġ" repository " Ġ{ ĊĠĠĠĠĠĠĠ Ġif Ġ( project . version . toString (). endsWith ("- SNAPSHOT ")) Ġ{ ĊĠĠĠĠĠĠĠĠĠ Ġset Property (" repo Key ", Ġ" oss - snapshot - local ") ĊĠĠĠĠĠĠĠ Ġ} Ġelse Ġ{ ĊĠĠĠĠĠĠĠĠĠ Ġset Property (" repo Key ", Ġ" oss - release - local ") ĊĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠĠĠĠĠ Ġset Property (" username ", ĠSystem . getProperty (" art ifactory User ")) ĊĠĠĠĠĠĠĠ Ġset Property (" password ", ĠSystem . getProperty (" art ifactory Password ")) ĊĠĠĠĠĠĠĠ Ġset Property (" maven ", Ġtrue ) ĊĠĠĠĠĠ Ġ} ĊĊĠĠĠĠĠ Ġ" defaults " Ġ{ ĊĠĠĠĠĠĠĠ Ġ" publications " (" maven ") ĊĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĠ Ġ} Ċ } Ċ