@@ -9,7 +9,6 @@ plugins {
9
9
}
10
10
11
11
12
-
13
12
apply plugin : ' project-report'
14
13
15
14
description = ' JGiven - BDD in plain Java'
@@ -138,8 +137,6 @@ configure(subprojects.findAll { !it.name.contains("android") }) {
138
137
apply plugin : ' org.asciidoctor.jvm.convert'
139
138
apply plugin : ' maven-publish'
140
139
141
- sourceCompatibility = targetCompatibility = JavaVersion . VERSION_11
142
-
143
140
dependencies {
144
141
implementation libs. slf4j. api
145
142
@@ -181,19 +178,23 @@ configure(subprojects.findAll { !it.name.contains("android") }) {
181
178
182
179
tasks. withType(Jar ) {
183
180
def now = new Date ()
184
- manifest = project. manifest(). attributes(
185
- ' Built-By' : " Gradle ${ gradle.gradleVersion} " ,
186
- ' Build-Date' : now. format(' yyyy-MM-dd HH:mm:ss.S' ),
187
- ' Copyright' : " 2013-" + now. format(' yyyy' ) + " TNG Technology Consulting GmbH" ,
188
- ' Implementation-Title' : project. name,
181
+ manifest {
182
+ attributes(
183
+ ' Built-By' : " Gradle ${ gradle.gradleVersion} " ,
184
+ ' Build-Date' : now. format(' yyyy-MM-dd HH:mm:ss.S' ),
185
+ ' Copyright' : " 2013-" + now. format(' yyyy' ) + " TNG Technology Consulting GmbH" ,
186
+ ' Implementation-Title' : project. name,
189
187
' Implementation-Version' : project. version,
190
- ' Implementation-Vendor' : ' TNG Technology Consulting GmbH' ,
191
- ' License' : ' Apache License v2.0, January 2004' ,
192
- ' Specification-Title' : project. name,
193
- ' Specification-Version' : project. version,
194
- ' Specification-Vendor' : ' TNG Technology Consulting GmbH' ,
195
- ' Automatic-Module-Name' : " com.tngtech.jgiven.${ project.name.replaceAll("-",".").replace("jgiven.","")} "
196
- )
188
+ ' Implementation-Vendor' : ' TNG Technology Consulting GmbH' ,
189
+ ' License' : ' Apache License v2.0, January 2004' ,
190
+ ' Specification-Title' : project. name,
191
+ ' Specification-Version' : project. version,
192
+ ' Specification-Vendor' : ' TNG Technology Consulting GmbH' ,
193
+ ' Automatic-Module-Name' : " com.tngtech.jgiven.${ project.name.replaceAll("-", ".").replace("jgiven.", "")} "
194
+ )
195
+ }
196
+
197
+
197
198
}
198
199
199
200
normalization {
@@ -211,6 +212,7 @@ configure(subprojects.findAll { !it.name.contains("android") }) {
211
212
}
212
213
213
214
java {
215
+ sourceCompatibility = targetCompatibility = JavaVersion . VERSION_11
214
216
withJavadocJar()
215
217
withSourcesJar()
216
218
}
0 commit comments