-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
59 lines (50 loc) · 1.32 KB
/
Copy pathbuild.gradle
File metadata and controls
59 lines (50 loc) · 1.32 KB
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
plugins {
id 'com.gradle.plugin-publish' version '0.11.0'
id 'java'
id 'java-gradle-plugin'
id 'maven'
}
group 'com.leobia.gradle'
version '0.3.0'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
}
gradlePlugin {
plugins {
jsGradleCompiler {
id = 'com.leobia.gradle.jsgradlecompiler'
implementationClass = 'com.leobia.gradle.JsCompilerPlugin'
}
}
}
dependencies {
compileOnly gradleApi()
implementation("com.google.auto.value:auto-value-annotations:1.7")
compile('com.google.javascript:closure-compiler:v20200406') {
exclude module: 'junit'
}
}
uploadArchives {
repositories {
mavenDeployer {
repository(url: uri('./repo'))
}
}
}
pluginBundle {
description = "Compile and minify .js files"
website = "https://github.com/leobia/JsGradleCompiler"
vcsUrl = "https://github.com/leobia/JsGradleCompiler"
tags = ["js", "compile", "minify", "google closure", "transpile", "build", "build artifacts", "cd", "ci", "files", "java"]
plugins {
jsGradleCompiler {
displayName = "Js Compiler and Minifier"
}
}
}
// Added to prevent: 'error: cannot access SourcePosition'
allprojects {
tasks.withType(Javadoc).all { enabled = false }
}