-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle.kts
102 lines (85 loc) · 2.8 KB
/
build.gradle.kts
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
import org.ajoberstar.reckon.gradle.ReckonExtension
plugins {
id("com.gradle.plugin-publish") version "0.15.0"
id("java-gradle-plugin")
id("groovy")
id("org.ajoberstar.reckon") version "0.13.0"
}
configure<ReckonExtension> {
scopeFromProp()
stageFromProp("rc", "final") // For distribution
// snapshotFromProp() // For local build
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
repositories {
mavenCentral()
}
dependencies {
implementation(gradleApi())
implementation("org.codehaus.plexus:plexus-archiver:4.2.5")
implementation("org.codehaus.plexus:plexus-container-default:2.1.0")
testCompileOnly(gradleTestKit())
}
gradlePlugin {
plugins {
create("npmPlugin") {
id = "us.ascendtech.js.npm"
implementationClass = "us.ascendtech.js.npm.NpmPlugin"
}
create("gwtModernPlugin") {
id = "us.ascendtech.gwt.modern"
implementationClass = "us.ascendtech.gwt.modern.GWTModernPlugin"
}
create("gwtClassicPlugin") {
id = "us.ascendtech.gwt.classic"
implementationClass = "us.ascendtech.gwt.classic.GWTClassicPlugin"
}
create("gwtLibPlugin") {
id = "us.ascendtech.gwt.lib"
implementationClass = "us.ascendtech.gwt.lib.GWTLibPlugin"
}
create("gwtDepPlugin") {
id = "us.ascendtech.gwt.dep"
implementationClass = "us.ascendtech.gwt.dep.GWTDepPlugin"
}
}
}
pluginBundle {
website = "https://github.com/ascendtech/gwt-gradle"
vcsUrl = "https://github.com/ascendtech/gwt-gradle"
(plugins) {
"npmPlugin" {
id = "us.ascendtech.js.npm"
displayName = "NPM/Webpack plugin"
description = "Plugin for npm and webpack support in gradle"
tags = listOf("webpack", "npm")
}
"gwtModernPlugin" {
id = "us.ascendtech.gwt.modern"
displayName = "Modern GWT plugin"
description = "Plugin for modern GWT projects based on webpack"
tags = listOf("gwt", "webpack", "npm")
}
"gwtClassicPlugin" {
id = "us.ascendtech.gwt.classic"
displayName = "Classic GWT plugin"
description = "Plugin for classic GWT projects"
tags = listOf("gwt")
}
"gwtLibPlugin" {
id = "us.ascendtech.gwt.lib"
displayName = "GWT Lib plugin"
description = "Plugin for gwt lib projects"
tags = listOf("gwt")
}
"gwtDepPlugin" {
id = "us.ascendtech.gwt.dep"
displayName = "GWT Dep plugin"
description = "Plugin for gwt dependencies projects"
tags = listOf("gwt")
}
}
}