/* * This file is part of dependency-check-gradle. * * Licensed 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. * * Copyright (c) 2015 Wei Ma. All Rights Reserved. */ buildscript { repositories { maven { url "https://plugins.gradle.org/m2/" } } dependencies { classpath "com.gradle.publish:plugin-publish-plugin:0.9.0" } } plugins { id 'nu.studer.plugindev' version '1.0.3' } apply plugin: 'idea' apply plugin: 'groovy' apply plugin: 'maven' apply plugin: 'signing' apply plugin: "com.gradle.plugin-publish" repositories { mavenCentral() } dependencies { compile( localGroovy(), gradleApi(), 'org.owasp:dependency-check-core:1.2.11', 'org.owasp:dependency-check-utils:1.2.11' ) } group = 'com.thoughtworks.tools' version = '0.0.4' apply from: 'conf/publish/local.gradle' //apply from: 'conf/publish/maven.gradle' apply from: 'conf/publish/gradlePluginsPortal.gradle' apply from: 'conf/publish/bintray.gradle' // according to the documentation of plugindev, this line has to be placed and the very end of the build file