Skip to content

Commit

Permalink
DEVEM-537 WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
kpiot123 committed Jul 19, 2023
1 parent 2119cfd commit 3215eb4
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 23 deletions.
8 changes: 6 additions & 2 deletions alfresco-dynamic-extensions-repo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,14 @@ subprojects {
writer.println("project name: " + project.name);
if (project.name.matches("alfresco-dynamic-extensions-repo-7\\d*")) {
System.out.println("Using webscripts-70")
ampLib project(':webscripts:webscripts-70')
ampLib project(':webscripts:webscripts-70') {
project(":webscripts:webscripts-70").ext.set("acsPackageVersion", alfrescoVersion)
}
} else if (project.name.matches("alfresco-dynamic-extensions-repo-6\\d*")) {
System.out.println("Using webscripts-6x")
ampLib project(':webscripts:webscripts-6x')
ampLib project(':webscripts:webscripts-6x') {
project(":webscripts:webscripts-6x").ext.set("acsPackageVersion", alfrescoVersion)
}
}
else {
System.out.println("Not using any webscripts subproject")
Expand Down
18 changes: 9 additions & 9 deletions webscripts/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ dependencies {
}
}

//subprojects {
// apply plugin: 'java'
// dependencies {
//// System.out.println("acsPackageVersion integrations-tests subprojects: "+acsPackageVersion)
// compileOnly platform ("org.alfresco:acs-community-packaging:${acsPackageVersion}")
// compileOnly('org.json:json') { transitive = false }
// compileOnly("org.alfresco.surf:spring-webscripts")
// }
//}
subprojects {
apply plugin: 'java'
dependencies {
System.out.println("acsPackageVersion integrations-tests subprojects: "+acsPackageVersion)
compileOnly platform ("org.alfresco:acs-community-packaging:${acsPackageVersion}")
compileOnly('org.json:json') { transitive = false }
compileOnly("org.alfresco.surf:spring-webscripts")
}
}
6 changes: 0 additions & 6 deletions webscripts/webscripts-6x/build.gradle

This file was deleted.

6 changes: 0 additions & 6 deletions webscripts/webscripts-70/build.gradle

This file was deleted.

0 comments on commit 3215eb4

Please sign in to comment.