Skip to content

Commit

Permalink
moved implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
vga91 committed Aug 19, 2024
1 parent 61056e6 commit e39daf7
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extended-it/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ allprojects {
}

dependencies {
implementation project(":extended")

apt project(':processor')
apt group: 'org.neo4j', name: 'neo4j', version: neo4jVersionEffective // mandatory to run @ServiceProvider based META-INF code generation

Expand All @@ -57,7 +59,6 @@ dependencies {
exclude group: 'org.apache.hive', module: 'hive-service'
}

implementation project(":extended")

testImplementation group: 'us.fatehi', name: 'schemacrawler-mysql', version: '16.20.8'
testImplementation group: 'org.postgresql', name: 'postgresql', version: '42.1.4'
Expand Down
10 changes: 10 additions & 0 deletions extended/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,16 @@ publishing {
name = 'pipeline'
url = "file://${project(':extended').buildDir}/repo"
}
if (System.getenv("CODEARTIFACT_PUBLISH_URL") ?: "" != "") {
maven {
name = 'codeartifact-publish'
url System.getenv('CODEARTIFACT_PUBLISH_URL')
credentials {
username System.getenv('CODEARTIFACT_USERNAME')
password System.getenv('CODEARTIFACT_TOKEN')
}
}
}
}
publications {
shadow(MavenPublication) { publication ->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ public static void testCallInReadTransaction(Session session, String call, Consu

public static void addExtraDependencies() {
File extraDepsDir = new File(TestContainerUtil.baseDir, "extra-dependencies");

String codeArtifactUrl = System.getenv("CODEARTIFACT_DOWNLOAD_URL");
System.out.println("codeArtifactUrl = " + codeArtifactUrl);

// build the extra-dependencies
executeGradleTasks(extraDepsDir, "buildDependencies");

Expand Down

0 comments on commit e39daf7

Please sign in to comment.