Use conventions instead of cross-project configuration
gradle userguide suggests to avoid allprojects/subprojects and use conventions instead https://docs.gradle.org/current/userguide/sharing_build_logic_between_subprojects.html#sec:convention_plugins_vs_cross_configuration
This commit is contained in:
parent
b8929ab414
commit
5d4065d141
15 changed files with 80 additions and 70 deletions
|
|
@ -1,13 +1,10 @@
|
|||
plugins {
|
||||
id 'application'
|
||||
id 'brouter.application-conventions'
|
||||
}
|
||||
|
||||
|
||||
application {
|
||||
mainClass.set('btools.server.BRouter')
|
||||
|
||||
distTar.enabled = false
|
||||
|
||||
jar {
|
||||
manifest {
|
||||
attributes "Main-Class": getMainClass(), "Implementation-Version": project.version
|
||||
|
|
@ -78,6 +75,5 @@ dependencies {
|
|||
implementation project(':brouter-mapaccess')
|
||||
implementation project(':brouter-util')
|
||||
|
||||
testImplementation 'junit:junit:4.13.2'
|
||||
testImplementation 'org.json:json:20180813'
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue