| buildscript { |
| repositories { |
| mavenCentral() |
| } |
| } |
| |
| dependencies { |
| testImplementation project(':doc:GettingStartedGuide') |
| testImplementation project(':doc:UserGuide') |
| } |
| |
| task copyGettingStartedGuide(type: Copy) { |
| from('GettingStartedGuide/build/pdf/') { |
| include '*.pdf' |
| } |
| into 'build/pdf' |
| |
| rename '.*', "GettingStarted_mdmbl.pdf" |
| } |
| |
| task copyUserGuide(type: Copy) { |
| from('UserGuide/build/pdf/') { |
| include '*.pdf' |
| } |
| into 'build/pdf' |
| |
| rename '.*', "openMDM5_UserGuide.pdf" |
| } |
| |
| build.finalizedBy(copyGettingStartedGuide) |
| build.finalizedBy(copyUserGuide) |