-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
42 lines (37 loc) · 1.69 KB
/
Copy pathbuild.gradle.kts
File metadata and controls
42 lines (37 loc) · 1.69 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
version = "1.13.1"
configurations.compileClasspath {
// Allow Java 11 dependencies on compile classpath
attributes.attribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, 11)
}
dependencies {
implementation("org.ow2.asm:asm:9.10.1")
implementation("com.github.javaparser:javaparser-core:3.28.2")
compileOnly("org.gradlex:extra-java-module-info:1.14.2")
compileOnly("com.autonomousapps:dependency-analysis-gradle-plugin:3.18.0")
}
jvmDependencyConflicts.patch {
module("com.autonomousapps:dependency-analysis-gradle-plugin") {
removeDependency("dev.zacsweers.moshix:moshi-sealed-runtime")
removeDependency("javax.inject:javax.inject")
}
}
publishingConventions {
pluginPortal("${project.group}.${project.name}") {
implementationClass("org.gradlex.javamodule.dependencies.JavaModuleDependenciesPlugin")
displayName("Java Module Dependencies Gradle Plugin")
description("A plugin that makes Gradle respect the dependencies defined in 'module-info.java' files.")
tags("gradlex", "java", "modularity", "jigsaw", "jpms", "dependencies", "versions")
}
pluginPortal("${project.group}.java-module-versions") {
implementationClass("org.gradlex.javamodule.dependencies.JavaModuleVersionsPlugin")
displayName("Java Module Versions Gradle Plugin")
description("A plugin that makes Gradle respect the dependencies defined in 'module-info.java' files.")
}
gitHub("https://github.com/gradlex-org/java-module-dependencies")
developer {
id = "jjohannes"
name = "Jendrik Johannes"
email = "jendrik@gradlex.org"
}
}
testingConventions { testGradleVersions("7.4", "7.6.5", "8.0.2", "8.14.3") }