forked from devork/flit
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathbuild.gradle
More file actions
31 lines (27 loc) · 838 Bytes
/
build.gradle
File metadata and controls
31 lines (27 loc) · 838 Bytes
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
plugins {
id 'com.gradleup.shadow' version '9.4.1'
}
dependencies {
implementation("com.google.protobuf:protobuf-java:$protobufVersion")
implementation("com.google.protobuf:protobuf-java-util:$protobufVersion")
implementation("com.squareup:javapoet:$javapoetVersion")
testImplementation("com.github.javaparser:javaparser-core:$javaparserVersion")
testImplementation("com.approvaltests:approvaltests:$approvaltestsVersion")
testImplementation("org.apache.commons:commons-lang3:$commonsLang3Version")
}
shadowJar {
manifest {
attributes(
'Main-Class': "com.flit.protoc.Main"
)
}
}
publishing {
publications {
shadow(MavenPublication) {
artifactId = 'flit-plugin'
version = '2.0'
from components.shadow
}
}
}