|
| 1 | +plugins { |
| 2 | + id 'java' |
| 3 | +} |
| 4 | + |
| 5 | +apply plugin: 'java' |
| 6 | + |
| 7 | +def projName = 'ModpackUpdater' |
| 8 | +def projBuild = '2' |
| 9 | + |
| 10 | +group 'ml.karmaconfigs' |
| 11 | +version '1.2.3' |
| 12 | + |
| 13 | +repositories { |
| 14 | + mavenCentral() |
| 15 | +} |
| 16 | + |
| 17 | +jar { |
| 18 | + filesMatching('data.properties') { |
| 19 | + expand([('version'): project.version]) |
| 20 | + } |
| 21 | + |
| 22 | + manifest { |
| 23 | + attributes "Main-Class": "ml.karmaconfigs.modpackupdater.Updater" |
| 24 | + attributes "Specification-Title": projName |
| 25 | + attributes "Specification-Version": project.version |
| 26 | + attributes "Specification-Vendor": 'GSA Dev Team' |
| 27 | + attributes "Implementation-Title": project.group + "." + projName |
| 28 | + attributes "Implementation-Version": 'build' + projBuild |
| 29 | + attributes "Implementation-Vendor": 'GSA Dev Team' |
| 30 | + } |
| 31 | + |
| 32 | + from { |
| 33 | + configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } |
| 34 | + } |
| 35 | +} |
| 36 | + |
| 37 | +dependencies { |
| 38 | + def commonMarkVersion = '0.9.0' |
| 39 | + |
| 40 | + compile group: 'com.atlassian.commonmark', name: 'commonmark', version: commonMarkVersion |
| 41 | + compile group: 'com.atlassian.commonmark', name: 'commonmark-ext-autolink', version: commonMarkVersion |
| 42 | + compile group: 'com.atlassian.commonmark', name: 'commonmark-ext-gfm-strikethrough', version: commonMarkVersion |
| 43 | + compile group: 'com.atlassian.commonmark', name: 'commonmark-ext-gfm-tables', version: commonMarkVersion |
| 44 | + compile group: 'com.atlassian.commonmark', name: 'commonmark-ext-heading-anchor', version: commonMarkVersion |
| 45 | + compile group: 'com.atlassian.commonmark', name: 'commonmark-ext-ins', version: commonMarkVersion |
| 46 | + compile group: 'com.atlassian.commonmark', name: 'commonmark-ext-yaml-front-matter', version: commonMarkVersion |
| 47 | + compile group: 'org.jetbrains', name: 'annotations', version: '20.0.0' |
| 48 | + compile group: 'com.formdev', name: 'flatlaf', version: '0.43' |
| 49 | + compile group: 'commons-validator', name: 'commons-validator', version: '1.7' |
| 50 | + compile group: 'com.google.code.gson', name: 'gson', version: '2.8.6' |
| 51 | + compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.25' |
| 52 | + compile group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.25' |
| 53 | + compile group: 'org.openjfx', name: 'javafx-graphics', version: '13' |
| 54 | + |
| 55 | + testCompile group: 'junit', name: 'junit', version: '4.12' |
| 56 | +} |
0 commit comments