blob: 3487837df4f19524744553b154b3f4463024bc33 [file] [log] [blame]
/*
* 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.
*/
plugins {
id 'java'
id 'org.jetbrains.intellij' version '0.4.18'
id 'checkstyle'
}
group 'org.apache.openwhisk.intellij'
version '1.0.0'
sourceCompatibility = 11
repositories {
mavenCentral()
}
dependencies {
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.9.8'
testImplementation group: 'junit', name: 'junit', version: '4.12'
}
intellij {
version '2021.1'
}
patchPluginXml {
sinceBuild '191.*'
untilBuild '211.*'
}
publishPlugin {
token = System.getenv("ORG_GRADLE_PROJECT_intellijPublishToken")
channels 'beta'
}
checkstyle {
configFile = file("${rootDir}/config/checkstyle/checkstyle.xml")
toolVersion = 8.35
}
tasks.withType(Checkstyle) {
reports {
xml.enabled false
html.enabled true
}
}