Skip to content

Commit a41fb46

Browse files
chore: refactor integration tests in a gradle module
1 parent 31839e1 commit a41fb46

File tree

239 files changed

+17734
-1231
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

239 files changed

+17734
-1231
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
.gradle
22
.idea
33

4+
**/node_modules/**
5+
**/build/**
6+
47
build/
58
!gradle/wrapper/gradle-wrapper.jar
69
!**/src/main/**/build/
@@ -44,4 +47,4 @@ bin/
4447
.vscode/
4548

4649
### Mac OS ###
47-
.DS_Store
50+
.DS_Store

build.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ apply("$rootDir/gradle-tasks/snapshot.gradle")
1818
allprojects {
1919
repositories {
2020
mavenCentral()
21+
mavenLocal()
2122
maven {
2223
url = uri("https://oss.sonatype.org/content/repositories/snapshots/")
2324
}
@@ -43,6 +44,10 @@ subprojects {
4344
}
4445
}
4546

47+
tasks.test {
48+
useJUnitPlatform()
49+
}
50+
4651
java {
4752
withSourcesJar()
4853
withJavadocJar()

generator/build.gradle.kts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import com.expediagroup.sdk.xap.generator.mustache.AllowedMediaTypesLambda
22
import org.openapitools.codegen.CodegenConstants
33

44
plugins {
5-
id("com.expediagroup.sdk.openapigenerator") version "0.0.9-alpha"
5+
id("com.expediagroup.sdk.openapigenerator") version "0.0.10-alpha"
66
id("com.github.hierynomus.license-base") version "0.16.1"
77
}
88

@@ -13,7 +13,7 @@ dependencies {
1313
}
1414

1515
openApiGenerate {
16-
inputSpec = System.getProperty("inputSpec") ?: "$projectDir/src/main/resources/transformedSpecs.yaml"
16+
inputSpec = System.getProperty("inputSpec") ?: "$rootDir/transformedSpecs.yaml"
1717

1818
packageName = "com.expediagroup.sdk.xap"
1919
invokerPackage = "com.expediagroup.sdk.xap"
@@ -45,8 +45,8 @@ license {
4545
strictCheck = true
4646
includes(
4747
listOf(
48-
"$rootDir/xap-sdk/src/main/kotlin/**/*.kt"
49-
)
48+
"$rootDir/xap-sdk/src/main/kotlin/**/*.kt",
49+
),
5050
)
5151
}
5252

0 commit comments

Comments
 (0)