-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathbuild.gradle
55 lines (48 loc) · 1.54 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Java Library project to get you started.
* For more details take a look at the Java Libraries chapter in the Gradle
* User Manual available at https://docs.gradle.org/5.3.1/userguide/java_library_plugin.html
*/
plugins {
// to publish the plugin at the gradle plugin portal
id "com.gradle.plugin-publish" version "0.10.1"
// Apply the java-library plugin to add support for Java Library
id 'java-gradle-plugin'
id 'maven-publish'
}
group = "net.freudasoft"
version = "0.0.2"
repositories {
// Use jcenter for resolving your dependencies.
// You can declare any Maven/Ivy/file repository here.
jcenter()
}
dependencies {
compile gradleApi()
// Use JUnit test framework
testImplementation 'junit:junit:4.12'
}
gradlePlugin {
plugins {
cmakePlugin {
id = 'net.freudasoft.gradle-cmake-plugin'
implementationClass = 'net.freudasoft.CMakePlugin'
}
}
}
// The configuration example below shows the minimum required properties
// configured to publish your plugin to the plugin portal
pluginBundle {
website = 'https://github.com/freudi74/gradle-cmake-plugin'
vcsUrl = 'https://github.com/freudi74/gradle-cmake-plugin'
description = 'Plugin to use Cmake from Gradle'
tags = ['cmake', 'c++']
plugins {
cmakePlugin {
// id is captured from java-gradle-plugin configuration
displayName = 'Gradle CMake plugin'
}
}
}