-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
50 lines (45 loc) · 1.33 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
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.8.10'
id 'com.gradle.plugin-publish' version '1.1.0'
id 'maven-publish'
id 'java-gradle-plugin'
}
// Unless overridden in the pluginBundle config DSL, the project version will
// be used as your plugin version when publishing
group = 'eu.rehost'
version = project.property('version')
repositories {
mavenCentral()
// maven { url 'https://jaspersoft.jfrog.io/jaspersoft/third-party-ce-artifacts/' }
}
dependencies {
// Obvious test dependency is obvious
testImplementation 'junit:junit:4.13.1'
}
// Use java-gradle-plugin to generate plugin descriptors and specify plugin ids
gradlePlugin {
website = 'https://git.rehost.eu/rehost/gradle-jasperreports'
vcsUrl = 'https://git.rehost.eu/rehost/gradle-jasperreports.git'
plugins {
jasperreports {
id = 'eu.rehost.jasperreports'
description = 'Provides the capability to compile JasperReports design files.'
implementationClass = 'eu.rehost.plugins.JasperReportsPlugin'
displayName = 'Gradle JasperReports Plugin'
tags.set(['jasperreports'])
}
}
}
publishing {
// uncomment the following section to publish plugin to local maven repository using the following task:
// $ gradle publishToMavenLocal
// repositories {
// mavenLocal()
// maven {
// url = uri("../local-maven")
// }
// }
//}
kotlin {
jvmToolchain(8)
}