Skip to content

Commit

Permalink
FINERACT-1724
Browse files Browse the repository at this point in the history
 - Supress error messages related to invalid maven pom model version in old eclipse artifacts.
  • Loading branch information
reluxa authored and galovics committed Jul 28, 2023
1 parent 3e19397 commit 7741340
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions buildSrc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,22 @@
* 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'
id 'java-gradle-plugin'
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'
Expand Down

0 comments on commit 7741340

Please sign in to comment.