Develop and Download Open Source Software

Browse Subversion Repository

Annotation of /flexmark-ext-highlight/trunk/build.gradle

Parent Directory Parent Directory | Revision Log Revision Log


Revision 81 - (hide annotations) (download)
Thu Jan 24 10:50:36 2019 UTC (5 years, 2 months ago) by hirukawa_ryo
File size: 1965 byte(s)
* flexmark-ext-highlight 0.1.2 タイトル指定を追加しました。クリップボードコピー機能を追加しました。HTML属性追加機能を追加しました。flexmarkのバージョンを 0.40.12 に変更しました。
1 hirukawa_ryo 72 plugins {
2     id "com.jfrog.bintray" version "1.7.3"
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-highlight'
11 hirukawa_ryo 81 version = '0.1.2'
12 hirukawa_ryo 72
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 81 compile 'com.vladsch.flexmark:flexmark-all:0.40.12'
35 hirukawa_ryo 72 compile 'com.codewaves.codehighlight:codehighlight:1.0.2'
36     }
37    
38     defaultTasks 'clean', 'build'
39    
40     task sourcesJar(type: Jar, dependsOn: classes) {
41     setGroup('build')
42     setDescription('Assembles a jar archive containing the main source code.')
43     classifier = 'sources'
44     from sourceSets.main.allSource
45     }
46    
47     task javadocJar(type: Jar, dependsOn: javadoc) {
48     setGroup('documentation')
49     setDescription('Generates Javadoc API documentation as a jar archive.')
50     classifier = 'javadoc'
51     from javadoc.destinationDir
52     }
53    
54     // For Bintray maven repository
55     // Use publishing -> bintrayUpload task.
56    
57     artifacts {
58     archives sourcesJar
59     archives javadocJar
60     }
61    
62     publishing {
63     publications {
64     mavenJava(MavenPublication) {
65     from components.java
66     artifact sourcesJar
67     artifact javadocJar
68     }
69     }
70     }
71     bintray {
72     user = System.getenv('BINTRAY_USER')
73     key = System.getenv('BINTRAY_KEY')
74    
75     publications = ['mavenJava']
76    
77     pkg {
78     repo = 'maven'
79     name = 'flexmark-ext-highlight'
80     licenses = ['BSD 2-Clause']
81     vcsUrl = 'https://svn.osdn.net/svnroot/blogs/flexmark-ext-highlight'
82     }
83     }

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