Skip to content

Commit 011ccb3

Browse files
committed
MLE-12345 Fixing weird plugin classpath issue
This allows for test-app to be a subproject, allowing a developer to run `mlDeploy` from the root directory.
1 parent 9c0696d commit 011ccb3

File tree

7 files changed

+17
-352
lines changed

7 files changed

+17
-352
lines changed

build.gradle

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,19 @@
1+
buildscript {
2+
repositories {
3+
mavenCentral()
4+
}
5+
dependencies {
6+
// Add jaxen to buildscript classpath to prevent NoClassDefFoundError when shadow plugin interferes with
7+
// ml-data-hub plugin execution. It is not yet known why the shadow plugin causes this problem or why it's
8+
// specific to the jaxen library, but this resolves the problem.
9+
classpath 'jaxen:jaxen:2.0.0'
10+
}
11+
}
12+
113
plugins {
214
id 'java'
315
id 'net.saliman.properties' version '1.5.2'
4-
id 'com.gradleup.shadow' version '8.3.4'
16+
id 'com.gradleup.shadow' version '9.2.2'
517

618
// Only used for testing
719
id 'jacoco'

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
rootProject.name = 'kafka-connect-marklogic'
2-
2+
include "test-app"

test-app/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
src/main/hub-internal-config
22
src/main/entity-config
3+
gradle
4+
gradlew
5+
gradlew.bat
-58.1 KB
Binary file not shown.

test-app/gradle/wrapper/gradle-wrapper.properties

Lines changed: 0 additions & 5 deletions
This file was deleted.

test-app/gradlew

Lines changed: 0 additions & 251 deletions
This file was deleted.

test-app/gradlew.bat

Lines changed: 0 additions & 94 deletions
This file was deleted.

0 commit comments

Comments
 (0)