mirror of
https://gitee.com/dcren/initializr.git
synced 2025-11-28 17:32:34 +08:00
Support for compileOnly scope
start.spring.io exposes an annotation processor (Lombok) that's quite popular but is exposed as a compile/transitive dependency. This commit introduces a `compileOnly` scope that maps to Gradle's `compileOnly` scope and Maven's `optional` flag. There is a case to support optional dependencies in general but unfortunately, Gradle doesn't have support for such feature. Closes gh-128
This commit is contained in:
@@ -112,6 +112,7 @@ initializr:
|
||||
id: lombok
|
||||
groupId: org.projectlombok
|
||||
artifactId: lombok
|
||||
scope: compileOnly
|
||||
description: Java annotation library which helps to reduce boilerplate code and code faster
|
||||
mappings:
|
||||
- versionRange: "[1.2.0.RELEASE,1.4.0.M1)"
|
||||
|
||||
Reference in New Issue
Block a user