-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
78 lines (62 loc) · 1.75 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
75
76
77
78
import com.vladsch.flexmark.ast.Document
import com.vladsch.flexmark.html.HtmlRenderer
import com.vladsch.flexmark.parser.Parser
buildscript {
apply plugin: 'groovy'
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
classpath group: 'com.vladsch.flexmark', name: 'flexmark', version: '0.28.12'
}
}
plugins {
id 'java'
id 'idea'
id 'org.jetbrains.intellij' version '1.3.0'
id "org.jetbrains.kotlin.jvm" version "1.6.10"
}
apply plugin: "kotlin"
group 'com.bloxbean'
version '0.9.0'
repositories {
mavenCentral()
}
compileJava {
sourceCompatibility = '11'
targetCompatibility = '11'
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'lib')
compile group: 'com.algorand', name: 'algosdk', version: '1.13.0'
compile('com.github.kklisura.cdt:cdt-java-client:4.0.0') {
exclude group: 'org.slf4j', module: 'slf4j-api'
}
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.10")
compileOnly 'org.projectlombok:lombok:1.18.20'
annotationProcessor 'org.projectlombok:lombok:1.18.20'
testCompile group: 'junit', name: 'junit', version: '4.12'
}
sourceSets.main.java.srcDirs('src/main/gen', 'src/main/idea')
String changeLogAsHtml() {
Parser parser = Parser.builder().build()
HtmlRenderer renderer = HtmlRenderer.builder().build()
Document changeLogDocument = parser.parse(new File(rootProject.uri('CHANGELOG.md')).text)
renderer.render(changeLogDocument)
}
intellij {
version = '2021.1'
//type = 'IC'
plugins = ['java']
updateSinceUntilBuild = false
}
patchPluginXml {
changeNotes = changeLogAsHtml()
}