forked from akhikhl/unpuzzle
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
47 lines (36 loc) · 919 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
buildscript {
repositories {
mavenLocal()
mavenCentral()
maven{
url 'http://repository.apache.org/content/groups/snapshots'
allowInsecureProtocol = true
}
}
}
apply plugin: 'base' // import clean task
allprojects {
apply plugin: 'eclipse'
}
ext {
project_website="https://github.com/${developerId}/${projectId}"
project_scm = "scm:git@github.com:${developerId}/${projectId}.git"
license_url = "https://raw.github.com/${developerId}/${projectId}/master/LICENSE"
}
if( !hasProperty( 'bintrayUser' ) )
ext.bintrayUser = ''
if( !hasProperty( 'bintrayApiKey' ) )
ext.bintrayKey = ''
task buildExamples (type: GradleBuild) {
dir = file('examples')
tasks = [ 'build' ]
}
// build.finalizedBy buildExamples
task cleanExamples( type: GradleBuild) {
dir = file('examples')
tasks = [ 'clean' ]
}
// clean.dependsOn cleanExamples
wrapper {
gradleVersion = '7.5.1'
}