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.
Type | Name and Description |
---|---|
boolean |
autoDownload Set to false if you want to disable automatic downloading of locally missing jars. |
boolean |
disableChecksums Set to true if you want to disable checksum checking. |
boolean |
initContextClassLoader Set to true if you want the context classloader to be initialised to the classloader of the current class or script. |
boolean |
systemClassLoader Set to true if you want to use the system classloader when loading the grape. |
Set to false if you want to disable automatic downloading of locally missing jars. @default true
Set to true if you want to disable checksum checking. @default false
Set to true if you want the context classloader to be initialised to the classloader of the current class or script. This is useful for libraries or frameworks that assume that the context classloader has been set. But be careful when using this flag as your script or class might behave differently when called directly (from the command line or from an IDE) versus when called from within a container, e.g. a web container or a JEE container. @default false
Set to true if you want to use the system classloader when loading the grape. This is normally only required when a core Java class needs to reference the grabbed classes, e.g. for a database driver accessed using DriverManager. @default false