forked from alexvasilkov/GradleGitDependenciesPlugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
executable file
·30 lines (23 loc) · 922 Bytes
/
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
buildscript {
apply from: 'gradle/scripts/gradle_publish_buildscript.gradle', to: buildscript
}
apply plugin: 'groovy'
ext.group = 'com.alexvasilkov'
ext.artifactId = 'gradle-git-dependencies'
ext.version = '2.0.2'
ext.name = 'Git Dependencies plugin'
ext.description = 'Gradle plugin to add external git repos as project dependencies'
ext.github = 'https://github.com/alexvasilkov/GradleGitDependenciesPlugin'
ext.githubScm = 'scm:[email protected]:alexvasilkov/GradleGitDependenciesPlugin.git'
repositories {
jcenter()
}
dependencies {
implementation gradleApi()
implementation localGroovy()
implementation 'org.ajoberstar.grgit:grgit-core:4.0.2'
}
// Build & upload to maven: './gradlew clean build publish'
apply from: "$rootDir/gradle/scripts/maven_publish.gradle"
// Build & upload to gradle: './gradlew clean build publishPlugins'
apply from: "$rootDir/gradle/scripts/gradle_publish.gradle"