forked from openjfx/javafx-gradle-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.off
88 lines (75 loc) · 2.17 KB
/
build.gradle.off
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
79
80
81
82
83
84
85
86
87
88
plugins {
id 'com.gradle.build-scan' version '2.1'
id 'java-gradle-plugin'
id 'com.github.hierynomus.license' version '0.15.0'
id 'com.gradle.plugin-publish' version '0.12.0'
id 'com.github.ben-manes.versions' version '0.20.0'
id 'maven-publish'
}
buildScan {
termsOfServiceUrl = 'https://gradle.com/terms-of-service'
termsOfServiceAgree = 'yes'
}
group 'org.openjfx'
version '0.0.15-SNAPSHOT'
sourceCompatibility = 11
targetCompatibility = 11
repositories {
mavenCentral()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
implementation gradleApi()
implementation 'com.google.gradle:osdetector-gradle-plugin:1.7.0'
implementation 'org.javamodularity:moduleplugin:1.8.12'
testImplementation gradleTestKit()
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.3.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.3.2'
}
test {
useJUnitPlatform()
}
gradlePlugin {
plugins {
javafxPlugin {
id = 'org.openjfx.javafxplugin'
displayName = 'JavaFX Gradle Plugin'
description = 'Plugin that makes it easy to work with JavaFX'
implementationClass = 'org.openjfx.gradle.JavaFXPlugin'
}
}
}
pluginBundle {
website = 'https://github.com/openjfx/javafx-gradle-plugin'
vcsUrl = 'https://github.com/openjfx/javafx-gradle-plugin'
tags = [ 'java', 'javafx' ]
}
publishing {
publications {
maven(MavenPublication) {
groupId = project.group
artifactId = 'javafx-gradle-plugin'
version = project.version
from components.java
}
}
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'
}
}