1784ede4eSRobert Muir/* 2784ede4eSRobert Muir * Licensed to the Apache Software Foundation (ASF) under one or more 3784ede4eSRobert Muir * contributor license agreements. See the NOTICE file distributed with 4784ede4eSRobert Muir * this work for additional information regarding copyright ownership. 5784ede4eSRobert Muir * The ASF licenses this file to You under the Apache License, Version 2.0 6784ede4eSRobert Muir * (the "License"); you may not use this file except in compliance with 7784ede4eSRobert Muir * the License. You may obtain a copy of the License at 8784ede4eSRobert Muir * 9784ede4eSRobert Muir * http://www.apache.org/licenses/LICENSE-2.0 10784ede4eSRobert Muir * 11784ede4eSRobert Muir * Unless required by applicable law or agreed to in writing, software 12784ede4eSRobert Muir * distributed under the License is distributed on an "AS IS" BASIS, 13784ede4eSRobert Muir * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14784ede4eSRobert Muir * See the License for the specific language governing permissions and 15784ede4eSRobert Muir * limitations under the License. 16784ede4eSRobert Muir */ 17784ede4eSRobert Muir 18*aabd3633SUwe Schindlerplugins { 19*aabd3633SUwe Schindler id 'java-library' 20*aabd3633SUwe Schindler} 21784ede4eSRobert Muir 22784ede4eSRobert Muirversion = "1.0.0-SNAPSHOT" 23784ede4eSRobert Muirgroup = "org.apache.lucene.tools" 24*aabd3633SUwe Schindlerdescription = 'Doclet-based javadoc validation' 25*aabd3633SUwe Schindler 26*aabd3633SUwe SchindlersourceCompatibility = JavaVersion.VERSION_11 27*aabd3633SUwe SchindlertargetCompatibility = JavaVersion.VERSION_11 28*aabd3633SUwe Schindler 29*aabd3633SUwe Schindlertasks.withType(JavaCompile) { 30*aabd3633SUwe Schindler options.compilerArgs += ["--release", targetCompatibility.toString()] 31*aabd3633SUwe Schindler options.encoding = "UTF-8" 32*aabd3633SUwe Schindler} 33