Skip to content
Permalink
Browse files

#49: Update pl.tlinkowski.gradle.my.superpom to 0.2.0

  • Loading branch information...
tlinkowski committed Sep 1, 2019
1 parent 3b76794 commit aecc32f4a3dc4dae9416bf0c7b22551952fe2835
@@ -61,14 +61,11 @@ subprojects {

dependencies {
val basicAnnotationsVersion: String by project // https://github.com/tlinkowski/basic-annotations
val lombokVersion: String by project // https://projectlombok.org/changelog
val autoServiceVersion: String by project // https://github.com/google/auto/tree/master/service

compileOnly(group = "pl.tlinkowski.annotation", name = "pl.tlinkowski.annotation.basic", version = basicAnnotationsVersion)
compileOnly(group = "org.projectlombok", name = "lombok", version = lombokVersion)
compileOnly(group = "com.google.auto.service", name = "auto-service-annotations", version = autoServiceVersion)

annotationProcessor(group = "org.projectlombok", name = "lombok", version = lombokVersion)
annotationProcessor(group = "com.google.auto.service", name = "auto-service", version = autoServiceVersion)
}

@@ -19,9 +19,8 @@ group=pl.tlinkowski.unij
# Release scopes: [major, minor, patch]
reckon.scope=minor
# Dependencies
mySuperpomVersion=0.1.4
mySuperpomVersion=0.2.0
basicAnnotationsVersion=0.2.0
lombokVersion=1.18.8
slf4jVersion=1.7.28
guavaVersion=28.0-jre
eclipseCollectionsVersion=10.0.0
@@ -1,16 +1,4 @@
#
# Config keys that can affect any source file
# https://projectlombok.org/features/configuration#config-keys-that-can-affect-any-source-file
#

## If true, fields, in any file (lombok annotated or not) are marked as final. Use @NonFinal to override this.
# lombok.fieldDefaults.defaultFinal = true

## If true, fields without any access modifier, in any file (lombok annotated or not) are marked as private. Use @PackagePrivate or an explicit modifier to override this.
# lombok.fieldDefaults.defaultPrivate = true

#
# Remaining config keys
# https://projectlombok.org/features/configuration
#

@@ -21,18 +9,25 @@ config.stopBubbling = true
lombok.accessors.fluent = true

## Copy these annotations to getters, setters, withers, builder-setters, etc.
## (source: https://github.com/tlinkowski/basic-annotations)
lombok.copyableAnnotations += kotlin.annotations.jvm.ReadOnly
lombok.copyableAnnotations += kotlin.annotations.jvm.Mutable
lombok.copyableAnnotations += pl.tlinkowski.annotation.basic.NullOr

## Generate @lombok.Generated on all generated code (default: false).
lombok.addLombokGeneratedAnnotation = true

## Generate @edu.umd.cs.findbugs.annotations.SuppressFBWarnings on all generated code (default: false).
# lombok.extern.findbugs.addSuppressFBWarnings = [false | true]

## Generate a private no-args constructor for @Data and @Value (default: true).
# lombok.noArgsConstructor.extraPrivate = [false | true]

## When generating equals and hashCode for classes that extend something (other than Object), either automatically take
## into account superclass implementation (call), or don't (skip), or warn and don't (warn). (default = warn).
# lombok.equalsAndHashCode.callSuper = [CALL | SKIP | WARN]

## When generating toString for classes that extend something (other than Object), either automatically take
## into account superclass implementation (call), or don't (skip), or warn and don't (warn). (default = warn).
# lombok.toString.callSuper = [CALL | SKIP | WARN]

## Include the field names in the generated toString method (default = true).
# lombok.toString.includeFieldNames = [false | true]

@@ -49,12 +44,32 @@ lombok.delegate.flagUsage = ERROR
## Emit a warning or error if @ExtensionMethod is used.
lombok.extensionMethod.flagUsage = ERROR

## Emit a warning or error if @FieldDefaults is used.
lombok.fieldDefaults.flagUsage = ERROR

## Emit a warning or error if @Helper is used.
lombok.helper.flagUsage = ERROR

## Emit a warning or error if @CommonsLog is used.
lombok.log.apacheCommons.flagUsage = ERROR

## Emit a warning or error if @Flogger is used.
lombok.log.flogger.flagUsage = ERROR

## Emit a warning or error if @Log is used.
lombok.log.javaUtilLogging.flagUsage = ERROR

## Emit a warning or error if @JBossLog is used.
lombok.log.jbosslog.flagUsage = ERROR

## Emit a warning or error if @Log4j is used.
lombok.log.log4j.flagUsage = ERROR

## Emit a warning or error if @Log4j2 is used.
lombok.log.log4j2.flagUsage = ERROR

## Emit a warning or error if @Synchronized is used.
lombok.synchronized.flagUsage = ERROR

## Emit a warning or error if 'var' is used.
lombok.var.flagUsage = ERROR

@@ -21,7 +21,7 @@ buildscript {
}
dependencies {
val mySuperpomVersion: String by settings // https://github.com/tlinkowski/tlinkowski-superpom
classpath(group = "pl.tlinkowski.gradle.my", name = "my-settings-gradle-plugin", version = mySuperpomVersion)
classpath(group = "pl.tlinkowski.gradle.my", name = "pl.tlinkowski.gradle.my.settings", version = mySuperpomVersion)
}
}
apply(plugin = "pl.tlinkowski.gradle.my.settings")
@@ -17,6 +17,8 @@
*/
modularity.mixedJavaRelease(8)

superpom.useLombok = true

dependencies {
val slf4jVersion: String by project // https://www.slf4j.org/

@@ -17,6 +17,8 @@
*/
modularity.mixedJavaRelease(8)

superpom.useLombok = true

dependencies {
val eclipseCollectionsVersion: String by project // https://www.eclipse.org/collections/

@@ -17,6 +17,8 @@
*/
modularity.mixedJavaRelease(8)

superpom.useLombok = true

dependencies {
val guavaVersion: String by project // https://github.com/google/guava

@@ -16,3 +16,5 @@
* limitations under the License.
*/
modularity.mixedJavaRelease(8)

superpom.useLombok = true
@@ -22,28 +22,12 @@ config {
}
}

superpom.isTestProject = true

dependencies {
val groovyVersion: String by project // https://groovy-lang.org/
val spockVersion: String by project // http://spockframework.org/
val slf4jVersion: String by project // https://www.slf4j.org/

api(project(":pl.tlinkowski.unij.api"))
api(project(":pl.tlinkowski.unij.service.api"))
api(group = "org.codehaus.groovy", name = "groovy-all", version = groovyVersion)
api(group = "org.spockframework", name = "spock-core", version = spockVersion)
runtimeOnly(group = "org.slf4j", name = "slf4j-simple", version = slf4jVersion)
}

//region JAVA PLATFORM MODULE SYSTEM
val moduleName by extra("pl.tlinkowski.unij.test")

tasks {
jar {
inputs.property("moduleName", moduleName)

manifest {
attributes["Automatic-Module-Name"] = moduleName
}
}
}
//endregion

0 comments on commit aecc32f

Please sign in to comment.
You can’t perform that action at this time.