Develop and Download Open Source Software

Browse Subversion Repository

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 110 - (show annotations) (download)
Tue Jul 14 02:28:58 2020 UTC (3 years, 8 months ago) by hirukawa_ryo
File size: 1935 byte(s)
* flexmark-ext-inline-tags 0.3.1
依存ライブラリflexmark 0.62.2 に変更しました。
1 plugins {
2 id "com.jfrog.bintray" version "1.8.5"
3 }
4 apply plugin : 'maven-publish'
5
6 apply plugin: 'java'
7
8 group = 'net.osdn.blogs.flexmark.ext'
9 archivesBaseName = 'flexmark-ext-inline-tags'
10 version = '0.3.1'
11
12 tasks.withType(JavaCompile) {
13 sourceCompatibility = 1.7
14 targetCompatibility = 1.7
15 options.compilerArgs << '-Xlint:all'
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 implementation 'com.vladsch.flexmark:flexmark:0.62.2'
35 }
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 archiveClassifier = '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 archiveClassifier = '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