Skip to content

Commit

Permalink
[#1599] update build: some tasks have moved into all-projects in pare…
Browse files Browse the repository at this point in the history
…nt build
  • Loading branch information
remkop committed Feb 26, 2022
1 parent 09b3acb commit 18f7451
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions picocli-codegen/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
plugins {
id 'java'
}
apply plugin: "org.beryx.jar"

group 'info.picocli'
description 'Picocli Code Generation - Tools to generate documentation, configuration, source code and other files from a picocli model.'
Expand Down Expand Up @@ -31,30 +30,6 @@ dependencies {
//jar.dependsOn(generateGraalReflectionConfig)


//sourceSets.main.java.srcDirs = ['src/main/java', 'src/main/java9']
compileJava {
inputs.property("moduleName", moduleName)
// doFirst {
// logger.info("Java version is " + JavaVersion.current())
// if (JavaVersion.current().isJava9Compatible()) {
// options.compilerArgs = [
// '--module-path', classpath.asPath,
// ]
// }
// // classpath = files()
// classpath = sourceSets.main.runtimeClasspath
// logger.info("options.compilerArgs is " + options.compilerArgs)
// logger.info("classpath is " + classpath.files)
// }
}
moduleConfig {
// copy module-info.class to META-INF/versions/9
multiReleaseVersion = 9
moduleInfoPath = 'src/main/java9/module-info.java'
version = project.version
neverCompileModuleInfo = true
}

jar {
manifest {
attributes 'Specification-Title' : 'Picocli Code Generation',
Expand Down

0 comments on commit 18f7451

Please sign in to comment.