build.gradle
27 lines
| 440 B
| text/x-groovy
|
GroovyLexer
/ common / build.gradle
|
|
r0 | plugins { | |
| id "java-library" | |||
| id "ivy-publish" | |||
| } | |||
| java { | |||
| withJavadocJar() | |||
| withSourcesJar() | |||
| } | |||
| dependencies { | |||
| api gradleApi() | |||
| } | |||
| task printVersion{ | |||
| doLast { | |||
| println "project: $project.groupId:$project.name:$project.version" | |||
| println "jar: ${->jar.archiveFileName.get()}" | |||
| } | |||
| } | |||
| publishing { | |||
| repositories { | |||
| ivy { | |||
| url "${System.properties["user.home"]}/ivy-repo" | |||
| } | |||
| } | |||
| } |
