plugins Ġ{ ĊĠ Ġ` java - platform ` ĊĠ Ġ` maven - publish ` Ċ } Ċ Ċ val Ġresource Version Ġ= Ġ" 0 . 1 2 . 0 " Ċ val Ġchecker framework Version Ġ= Ġ" 3 . 1 6 . 0 " Ċ val Ġderive 4 j Version Ġ= Ġ" 1 . 1 . 1 " Ċ Ċ dependencies Ġ{ ĊĠ Ġconstraints Ġ{ ĊĠĠĠ Ġapi (" org . metab org : resource :$ resource Version ") ĊĠĠĠ Ġapi (" org . checker framework : checker - qual - android :$ checker framework Version ") Ġ// ĠUse Ġandroid Ġversion : Ġannotation Ġretention Ġpolicy Ġis Ġclass Ġinstead Ġof Ġruntime . ĊĠĠĠ Ġapi (" org . derive 4 j : derive 4 j :$ derive 4 j Version ") ĊĠĠĠ Ġapi (" org . derive 4 j : derive 4 j - annotation :$ derive 4 j Version ") ĊĠ Ġ} Ċ } Ċ Ċ publishing Ġ{ ĊĠ Ġpublications Ġ{ ĊĠĠĠ Ġcreate < Maven Publication >(" Java Platform ") Ġ{ ĊĠĠĠĠĠ Ġfrom ( components [" java Platform "]) ĊĠĠĠ Ġ} ĊĠ Ġ} Ċ } Ċ