Develop and Download Open Source Software

Browse Subversion Repository

Annotation of /hammer-markdown/trunk/build.gradle

Parent Directory Parent Directory | Revision Log Revision Log


Revision 66 - (hide annotations) (download)
Thu Mar 8 10:36:23 2018 UTC (6 years, 1 month ago) by hirukawa_ryo
File size: 1170 byte(s)
* hammer-markdown 0.7.6
リソースのコピーでNoSuchFileExceptionが発生しても無視するようにしました。
1 hirukawa_ryo 15 apply plugin: 'java'
2 hirukawa_ryo 49 apply plugin: 'eclipse'
3 hirukawa_ryo 15
4 hirukawa_ryo 65 archivesBaseName = 'hammer-markdown'
5     version = '0.7.6'
6    
7 hirukawa_ryo 15 compileJava.options.encoding = 'UTF-8'
8    
9     repositories {
10     jcenter { url "http://jcenter.bintray.com" }
11     }
12    
13 hirukawa_ryo 44 defaultTasks 'clean', 'exewrap'
14    
15 hirukawa_ryo 15 dependencies {
16 hirukawa_ryo 65 compile fileTree(dir: 'lib',
17     includes: ['**/*.jar'],
18     excludes: ['**/*-sources.jar', '**/*-javadoc.jar'])
19 hirukawa_ryo 15 }
20    
21     jar {
22     manifest {
23 hirukawa_ryo 65 attributes "Specification-Version": "${version}"
24 hirukawa_ryo 15 attributes "Main-Class" : "hammer.viewer.Application"
25     attributes "Class-Path": configurations.compile.collect { relativePath(it) }.join(' ')
26     }
27     exclude ("icon/**")
28     }
29    
30     task exewrap(type: Exec, dependsOn: 'jar') {
31     setGroup("build")
32 hirukawa_ryo 44 setDescription('Assembles the executable.')
33 hirukawa_ryo 15 executable "${projectDir}/exewrap.exe"
34     args "-A", "x86",
35 hirukawa_ryo 42 "-g",
36 hirukawa_ryo 65 "-t", "1.8.0.40",
37 hirukawa_ryo 15 "-L", "lib/hammer;lib/pegdown;lib/freemarker;lib/yamlbeans;lib/prantuml;lib/juniversalchardet;lib/jsch;lib/jcifs",
38 hirukawa_ryo 66 "-e", "SHARED",
39 hirukawa_ryo 65 "-j", "${libsDir}/${jar.archiveName}",
40 hirukawa_ryo 15 "-i", "src/main/resources/icon/icon.ico",
41 hirukawa_ryo 65 "-o", "${buildDir}/${archivesBaseName}.exe",
42 hirukawa_ryo 15 "-d", "hammer-markdown",
43     "-p", "hammer-markdown",
44 hirukawa_ryo 65 "-V", "${version}",
45     "-v", "${version}"
46 hirukawa_ryo 15 }

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26