-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.gradle
42 lines (35 loc) · 1.02 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
plugins {
id "com.gradle.plugin-publish" version '0.13.0'
id "java-gradle-plugin"
id "java-library"
}
version = System.getenv().getOrDefault("CIRRUS_TAG", "1.0")
gradlePlugin {
plugins {
librariesPlugin {
id = 'com.github.fkorotkov.libraries'
implementationClass = 'com.fkorotkov.gradle.libraries.LibrariesPlugin'
}
}
}
pluginBundle {
website = 'https://github.com/fkorotkov/gradle-libraries-plugin'
vcsUrl = 'https://github.com/fkorotkov/gradle-libraries-plugin.git'
description = 'Specify versions of external libraries in a centralized place and use them across the sub-projects'
tags = ['dependencies', 'dependency-management']
plugins {
librariesPlugin {
displayName = 'Gradle Libraries Plugin'
}
}
}
repositories {
gradlePluginPortal()
jcenter()
maven { setUrl("https://repo.gradle.org/gradle/repo") }
}
dependencies {
compileOnly gradleApi()
implementation 'com.github.ben-manes:gradle-versions-plugin:0.36.0'
implementation "com.google.code.gson:gson:2.8.6"
}