-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathbuild.gradle
65 lines (57 loc) · 1.84 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
plugins {
id 'com.gradle.plugin-publish' version '1.2.1'
id 'com.github.ben-manes.versions' version '0.47.0'
id 'com.github.hierynomus.license' version '0.16.1'
}
group 'com.gluonhq'
version '1.0.26-SNAPSHOT'
java {
toolchain.languageVersion = JavaLanguageVersion.of(11)
}
repositories {
mavenCentral()
gradlePluginPortal()
maven {
url "https://oss.sonatype.org/content/repositories/snapshots"
}
}
dependencies {
implementation gradleApi()
testImplementation gradleTestKit()
implementation 'com.gluonhq:substrate:0.0.66-SNAPSHOT'
implementation 'org.openjfx:javafx-plugin:0.1.0'
}
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'
website = 'https://github.com/gluonhq/gluonfx-gradle-plugin'
vcsUrl = 'https://github.com/gluonhq/gluonfx-gradle-plugin'
tags.set([ 'java', 'javafx', 'gluon', 'client', 'substrate', 'graalvm', 'aot' ])
}
}
}
publishing {
repositories {
maven {
url = "https://oss.sonatype.org/content/repositories/snapshots/"
def sonatypeUsername = providers.gradleProperty('sonatypeUsername')
def sonatypePassword = providers.gradleProperty('sonatypePassword')
if (sonatypeUsername.isPresent() && sonatypePassword.isPresent()) {
credentials {
username = sonatypeUsername.get()
password = sonatypePassword.get()
}
}
}
}
}
license {
skipExistingHeaders = true
mapping {
java = 'SLASHSTAR_STYLE'
}
}