forked from gluonhq/gluonfx-gradle-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
76 lines (67 loc) · 1.99 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
plugins {
id 'java-gradle-plugin'
id 'com.github.hierynomus.license' version '0.15.0'
id 'com.gradle.plugin-publish' version '0.14.0'
id 'com.github.ben-manes.versions' version '0.27.0'
id 'maven-publish'
}
group 'com.gluonhq'
version '1.0.5-SNAPSHOT'
sourceCompatibility = 11
targetCompatibility = 11
repositories {
mavenCentral()
maven {
url "https://plugins.gradle.org/m2/"
}
maven {
url "https://oss.sonatype.org/content/repositories/snapshots"
}
}
dependencies {
implementation gradleApi()
testImplementation gradleTestKit()
implementation 'com.gluonhq:substrate:0.0.45-SNAPSHOT'
implementation 'org.openjfx:javafx-plugin:0.0.10'
}
gradlePlugin {
plugins {
gluonFXPlugin {
id = 'com.gluonhq.gluonfx-gradle-plugin'
displayName = 'GluonFX Plugin'
description = 'GluonFX plugin allows to run JavaFX application on the JVM or to create their native images.'
implementationClass = 'com.gluonhq.gradle.GluonFXPlugin'
}
}
}
pluginBundle {
website = 'https://github.com/gluonhq/gluonfx-gradle-plugin'
vcsUrl = 'https://github.com/gluonhq/gluonfx-gradle-plugin'
tags = [ 'java', 'javafx', 'gluon', 'client', 'substrate', 'graalvm', 'aot' ]
}
publishing {
publications {
maven(MavenPublication) {
groupId = project.group
artifactId = 'gluonfx-gradle-plugin'
version = project.version
}
}
repositories {
maven {
if (project.hasProperty('sonatypeUsername') && project.hasProperty('sonatypePassword')) {
credentials {
username project.property('sonatypeUsername')
password project.property('sonatypePassword')
}
url = 'https://oss.sonatype.org/content/repositories/snapshots/'
}
}
}
}
license {
skipExistingHeaders = true
mapping {
java = 'SLASHSTAR_STYLE'
}
}