FINERACT-1724

- Supress error messages related to invalid maven pom model version in old eclipse artifacts.
This commit is contained in:
Peter Bagrij
2023-07-28 15:14:58 +02:00
committed by Arnold Gálovics
parent 3e193975ef
commit 7741340ef3
+9
View File
@@ -16,6 +16,9 @@
* specific language governing permissions and limitations
* under the License.
*/
import static org.slf4j.LoggerFactory.*
plugins {
id 'io.spring.dependency-management' version '1.1.0'
id 'groovy'
@@ -23,6 +26,12 @@ plugins {
id 'groovy-gradle-plugin'
}
//Suppress errors related to invalid org.eclipse.* maven poms versions.
def loggerFactory = getILoggerFactory()
def noOpMethod = getILoggerFactory().getClass().getDeclaredMethod("addNoOpLogger", String.class)
noOpMethod.setAccessible(true)
noOpMethod.invoke(loggerFactory, "io.spring.gradle.dependencymanagement.internal.maven.EffectiveModelBuilder")
apply from: "${projectDir}/src/main/groovy/org.apache.fineract.dependencies.gradle"
description = 'Fineract Gradle Plugin'