lucene/gradle/ant-compat/force-versions.gradle

37 lines
1.3 KiB
Groovy
Raw Normal View History

/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
2019-12-13 06:01:26 -05:00
// Force versions of certain components to align them with ant build.
subprojects {
plugins.withType(JavaPlugin) {
dependencies {
implementation enforcedPlatform('org.slf4j:slf4j-api:1.7.24')
implementation enforcedPlatform('commons-logging:commons-logging:1.1.3')
}
}
}
configure(project(":solr:server")) {
afterEvaluate {
dependencies {
libExt enforcedPlatform('org.slf4j:slf4j-api:1.7.24')
libExt enforcedPlatform('commons-logging:commons-logging:1.1.3')
}
}
}