-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
32 lines (25 loc) · 1.34 KB
/
build.gradle.kts
File metadata and controls
32 lines (25 loc) · 1.34 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
version = "1.14"
dependencies { implementation("org.ow2.asm:asm:9.9.1") }
publishingConventions {
pluginPortal("${project.group}.${project.name}") {
implementationClass("org.gradlex.javamodule.moduleinfo.ExtraJavaModuleInfoPlugin")
displayName("Extra Java Module Info Gradle Plugin")
description("Add module information to legacy Java libraries.")
tags("gradlex", "java", "modularity", "jigsaw", "jpms")
}
gitHub("https://github.com/gradlex-org/extra-java-module-info")
developer {
id.set("jjohannes")
name.set("Jendrik Johannes")
email.set("jendrik@gradlex.org")
}
}
testingConventions { testGradleVersions("6.8.3", "6.9.4", "7.6.5", "8.14.2") }
// Turn off classfile lint as long as we still compile with Java 8
// /org/objectweb/asm/ClassReader.class: Cannot find annotation method 'forRemoval()' in type 'Deprecated'
tasks.compileJava { options.compilerArgs.add("-Xlint:-classfile") }
// === the following custom configuration should be removed once tests are migrated to Java
apply(plugin = "groovy")
tasks.named<GroovyCompile>("compileTestGroovy") { targetCompatibility = "11" } // allow tests to run against 6.x
dependencies { testImplementation("org.spockframework:spock-core:2.3-groovy-4.0") } //
// ====================================================================================