Skip to content

Commit 120d4bd

Browse files
committed
improved configuration
1 parent de2c210 commit 120d4bd

File tree

4 files changed

+21
-44
lines changed

4 files changed

+21
-44
lines changed

build.gradle

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,38 @@
11
plugins {
2-
id 'groovy'
32
id 'java-gradle-plugin'
43
id 'com.gradle.plugin-publish' version '0.10.1'
5-
id 'org.unbroken-dome.test-sets' version '2.1.1'
4+
id 'org.unbroken-dome.test-sets' version '2.2.1'
5+
id "com.github.ben-manes.versions" version "0.27.0"
66
}
77

88
group 'com.github.hauner.openapi'
99
version '1.0.0.M6'
1010

1111
targetCompatibility = JavaVersion.VERSION_1_8
1212

13-
repositories {
14-
mavenCentral()
15-
maven {
16-
url "https://dl.bintray.com/hauner/openapi-processor"
13+
14+
allprojects {
15+
apply plugin: 'groovy'
16+
17+
repositories {
18+
mavenCentral()
19+
maven {
20+
url "https://dl.bintray.com/hauner/openapi-processor"
21+
}
22+
}
23+
24+
dependencies {
25+
implementation localGroovy()
26+
compileOnly 'com.github.hauner.openapi:openapi-processor-api:1.0.0.M4'
1727
}
1828
}
1929

2030
dependencies {
21-
implementation localGroovy()
22-
23-
compileOnly 'com.github.hauner.openapi:openapi-processor-api:1.0.0.M4'
24-
2531
testImplementation ('org.spockframework:spock-core:1.3-groovy-2.5') {
26-
// avoid conflict with localGroovy()
27-
exclude group: 'org.codehaus.groovy'
32+
exclude group: 'org.codehaus.groovy' // avoid conflict with localGroovy()
2833
}
2934

30-
testImplementation 'net.bytebuddy:byte-buddy:1.9.13'
35+
testImplementation 'net.bytebuddy:byte-buddy:1.10.7'
3136
}
3237

3338

processor-one/build.gradle

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1 @@
1-
plugins {
2-
id 'groovy'
3-
}
4-
5-
repositories {
6-
maven {
7-
url "https://dl.bintray.com/hauner/openapi-processor"
8-
}
9-
}
10-
11-
dependencies {
12-
implementation localGroovy()
13-
14-
compileOnly 'com.github.hauner.openapi:openapi-processor-api:1.0.0.M4'
15-
}
1+
// configured by root project

processor-two/build.gradle

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1 @@
1-
plugins {
2-
id 'groovy'
3-
}
4-
5-
repositories {
6-
maven {
7-
url "https://dl.bintray.com/hauner/openapi-processor"
8-
}
9-
}
10-
11-
dependencies {
12-
implementation localGroovy()
13-
14-
compileOnly 'com.github.hauner.openapi:openapi-processor-api:1.0.0.M4'
15-
}
1+
// configured by root project

src/testInt/groovy/com/github/hauner/openapi/gradle/OpenApiProcessorPluginSpec.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ openapiProcessor {
100100
'5.4', '5.4.1',
101101
'5.5', '5.5.1',
102102
'5.6', '5.6.1', '5.6.2', '5.6.3', '5.6.4',
103-
'6.0', '6.0.1', '6.1', '6.1.1'
103+
'6.0', '6.0.1', '6.1', '6.1.1', '6.2-rc-3'
104104
]
105105
}
106106

0 commit comments

Comments
 (0)