This repository has been archived by the owner on Sep 7, 2022. It is now read-only.
forked from giflw/remark-java
-
Notifications
You must be signed in to change notification settings - Fork 9
/
build.gradle
74 lines (63 loc) · 1.86 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
group = 'com.kotcrab.remark'
version = '1.2.1-SNAPSHOT'
buildscript {
repositories {
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath "com.netflix.nebula:gradle-extra-configurations-plugin:3.0.3"
classpath "io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.5.3"
classpath "biz.aQute.bnd:biz.aQute.bnd.gradle:5.1.2"
}
}
repositories {
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url "https://oss.sonatype.org/content/repositories/releases/" }
}
apply plugin: 'io.codearte.nexus-staging'
apply plugin: "eclipse"
apply plugin: "idea"
apply plugin: "java"
apply plugin: 'maven'
apply plugin: "nebula.optional-base"
apply plugin: "biz.aQute.bnd.builder"
apply from: 'deploy.gradle'
archivesBaseName = "remark"
sourceCompatibility = 1.6
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
ext {
appName = 'remark'
}
eclipse.project {
name = appName
}
uploadArchives {
repositories {
mavenDeployer {
pom.project {
name 'remark'
artifactId 'remark'
packaging 'jar'
description 'Remark is a library for taking (X)HTML input and outputting clean Markdown, Markdown Extra, or MultiMarkdown compatible text.'
}
}
}
}
dependencies {
compile "org.jsoup:jsoup:1.9.2"
compile "org.apache.commons:commons-lang3:3.4"
compile "commons-cli:commons-cli:1.2", optional
testCompile "commons-io:commons-io:2.4"
testCompile group: 'junit', name: 'junit', version: '4.11'
}
nexusStaging {
packageGroup = "com.kotcrab"
username = ossrhUsername
password = ossrhPassword
}
tasks.eclipse.doLast {
delete ".project"
}