| 4 |
apply plugin : 'maven-publish' |
apply plugin : 'maven-publish' |
| 5 |
|
|
| 6 |
apply plugin: 'java' |
apply plugin: 'java' |
|
apply plugin: 'eclipse' |
|
| 7 |
|
|
| 8 |
group = 'net.osdn.blogs.flexmark.ext' |
group = 'net.osdn.blogs.flexmark.ext' |
| 9 |
archivesBaseName = 'flexmark-ext-inline-tags' |
archivesBaseName = 'flexmark-ext-inline-tags' |
| 10 |
version = '0.1.4' |
version = '0.1.5' |
| 11 |
|
|
| 12 |
tasks.withType(JavaCompile) { |
tasks.withType(JavaCompile) { |
| 13 |
sourceCompatibility = 1.7 |
sourceCompatibility = 1.7 |
| 30 |
} |
} |
| 31 |
|
|
| 32 |
dependencies { |
dependencies { |
| 33 |
compile 'com.vladsch.flexmark:flexmark:0.50.40' |
compile 'com.vladsch.flexmark:flexmark:0.50.48' |
| 34 |
} |
} |
| 35 |
|
|
| 36 |
defaultTasks 'clean', 'build' |
defaultTasks 'clean', 'build' |
| 38 |
task sourcesJar(type: Jar, dependsOn: classes) { |
task sourcesJar(type: Jar, dependsOn: classes) { |
| 39 |
setGroup('build') |
setGroup('build') |
| 40 |
setDescription('Assembles a jar archive containing the main source code.') |
setDescription('Assembles a jar archive containing the main source code.') |
| 41 |
classifier = 'sources' |
archiveClassifier = 'sources' |
| 42 |
from sourceSets.main.allSource |
from sourceSets.main.allSource |
| 43 |
} |
} |
| 44 |
|
|
| 45 |
task javadocJar(type: Jar, dependsOn: javadoc) { |
task javadocJar(type: Jar, dependsOn: javadoc) { |
| 46 |
setGroup('documentation') |
setGroup('documentation') |
| 47 |
setDescription('Generates Javadoc API documentation as a jar archive.') |
setDescription('Generates Javadoc API documentation as a jar archive.') |
| 48 |
classifier = 'javadoc' |
archiveClassifier = 'javadoc' |
| 49 |
from javadoc.destinationDir |
from javadoc.destinationDir |
| 50 |
} |
} |
| 51 |
|
|