55
66plugins {
77 id ' java'
8- id ' com.mendix.gradle.publish-module-plugin' version ' 1.12 '
8+ id ' com.mendix.gradle.publish-module-plugin' version ' 1.13 '
99 id ' net.researchgate.release' version ' 2.8.1'
1010}
1111
@@ -23,6 +23,7 @@ mxMarketplace {
2323 moduleLicense = ' Apache V2'
2424 appDirectory = " src/CommunityCommons"
2525 versionPathPrefix = " _Version " // the path prefix within the module to the version folder
26+ createMigrationFile = true
2627}
2728
2829def userLibDir = " $projectDir /src/CommunityCommons/userlib"
@@ -36,6 +37,12 @@ repositories {
3637 }
3738}
3839
40+ configurations {
41+ implementation {
42+ canBeResolved = true
43+ }
44+ }
45+
3946dependencies {
4047 testImplementation(
4148 [group : ' com.mendix' , name : ' public-api' , version : " $mendixPublicApiVersion " ],
@@ -86,12 +93,6 @@ task copyAllToUserlib(type: Copy) {
8693 eachFile { fileCopyDetails -> new File (destinationDir, " ${ fileCopyDetails.name} .${ project.name} .RequiredLib" ). write ' ' }
8794}
8895
89- task copyRuntimeToUserlib (type : Copy ) {
90- from configurations. runtimeClasspath
91- into userLibDir
92- eachFile { fileCopyDetails -> new File (destinationDir, " ${ fileCopyDetails.name} .${ project.name} .RequiredLib" ). write ' ' }
93- }
94-
9596tasks. named(' mxBuild' ) {
9697 dependsOn copyAllToUserlib
9798}
@@ -104,10 +105,6 @@ clean {
104105 delete " $userLibDir "
105106}
106107
107- tasks. named(' exportModule' ) {
108- dependsOn ' copyRuntimeToUserlib'
109- }
110-
111108release {
112109 tagTemplate = ' $name-$version'
113110}
0 commit comments