Develop and Download Open Source Software

Browse Subversion Repository

Annotation of /flexmark-ext-inline-tags/trunk/build.gradle

Parent Directory Parent Directory | Revision Log Revision Log


Revision 89 - (hide annotations) (download)
Fri Feb 22 10:41:43 2019 UTC (5 years ago) by hirukawa_ryo
File size: 1907 byte(s)
* flexmark-ext-inline-tags 0.1.1 依存ライブラリをflexmark-allからflexmarkに変更しました。
1 hirukawa_ryo 85 plugins {
2     id "com.jfrog.bintray" version "1.8.1"
3     }
4     apply plugin : 'maven-publish'
5    
6     apply plugin: 'java'
7     apply plugin: 'eclipse'
8    
9     group = 'net.osdn.blogs.flexmark.ext'
10     archivesBaseName = 'flexmark-ext-inline-tags'
11 hirukawa_ryo 89 version = '0.1.1'
12 hirukawa_ryo 85
13     tasks.withType(JavaCompile) {
14     sourceCompatibility = 1.7
15     targetCompatibility = 1.7
16     }
17    
18     def defaultEncoding = 'UTF-8'
19     tasks.withType(AbstractCompile).each { it.options.encoding = defaultEncoding }
20     tasks.withType(GroovyCompile).each { it.groovyOptions.encoding = defaultEncoding }
21    
22     javadoc {
23     options.charSet = defaultEncoding
24     options.encoding = defaultEncoding
25     options.memberLevel = JavadocMemberLevel.PUBLIC
26     options.stylesheetFile = new File(rootDir, 'javadoc.css')
27     }
28    
29     repositories {
30     jcenter()
31     }
32    
33     dependencies {
34 hirukawa_ryo 89 compile 'com.vladsch.flexmark:flexmark:0.40.16'
35 hirukawa_ryo 85 }
36    
37     defaultTasks 'clean', 'build'
38    
39     task sourcesJar(type: Jar, dependsOn: classes) {
40     setGroup('build')
41     setDescription('Assembles a jar archive containing the main source code.')
42     classifier = 'sources'
43     from sourceSets.main.allSource
44     }
45    
46     task javadocJar(type: Jar, dependsOn: javadoc) {
47     setGroup('documentation')
48     setDescription('Generates Javadoc API documentation as a jar archive.')
49     classifier = 'javadoc'
50     from javadoc.destinationDir
51     }
52    
53     // For Bintray maven repository
54     // Use publishing -> bintrayUpload task.
55    
56     artifacts {
57     archives sourcesJar
58     archives javadocJar
59     }
60    
61     publishing {
62     publications {
63     mavenJava(MavenPublication) {
64     from components.java
65     artifact sourcesJar
66     artifact javadocJar
67     }
68     }
69     }
70     bintray {
71     user = System.getenv('BINTRAY_USER')
72     key = System.getenv('BINTRAY_KEY')
73    
74     publications = ['mavenJava']
75    
76     pkg {
77     repo = 'maven'
78     name = 'flexmark-ext-inline-tags'
79     licenses = ['BSD 2-Clause']
80     vcsUrl = 'https://svn.osdn.net/svnroot/blogs/flexmark-ext-inline-tags'
81     }
82     }

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