-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
64 lines (52 loc) · 1.41 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
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.4.10'
id 'com.gradle.plugin-publish' version '0.12.0'
id 'java-gradle-plugin'
id 'maven-publish'
}
group 'com.xcporter'
version '0.0.5'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.antlr:antlr4-runtime:4.9.2'
testImplementation 'org.jetbrains.kotlin:kotlin-test-junit5'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.6.0'
compileOnly gradleApi()
}
test {
useJUnitPlatform()
}
compileKotlin {
kotlinOptions.jvmTarget = '1.8'
}
compileTestKotlin {
kotlinOptions.jvmTarget = '1.8'
}
gradlePlugin {
plugins {
simplePlugin {
id = 'com.xcporter.metaview'
displayName = "MetaView"
description = "A tool for generating UML diagrams from Kotlin source code"
implementationClass = 'com.xcporter.MetaviewPlugin'
}
}
}
pluginBundle {
website = 'https://github.com/xcporter/metaView'
vcsUrl = 'https://github.com/xcporter/metaView'
tags = ['metaView', 'plantUML', 'UML', 'analysis', 'documentation', 'diagram', 'class', 'docs', 'generator']
}
publishing {
publications {
METAVIEW(MavenPublication) {
from components.java
groupId 'com.xcporter'
artifactId 'metaview'
version = '0.0.3'
}
}
}