1
- apply plugin : ' java'
2
- apply plugin : ' maven'
3
- apply plugin : ' eclipse'
4
-
5
- sourceCompatibility = JavaVersion . VERSION_1_7
6
- targetCompatibility = JavaVersion . VERSION_1_7
7
-
8
- group = ' com.projectkaiser.scm'
9
- version = ' 1.0-SNAPSHOT'
10
-
11
- repositories {
12
- mavenCentral()
13
- maven {
14
- url " https://jitpack.io"
15
- }
16
- }
17
-
18
- defaultTasks ' build' ;
19
-
20
- dependencies {
21
- compile ' com.github.ProjectKaiser:pk-vcs-api:master-SNAPSHOT'
22
- compile ' commons-logging:commons-logging:1.2'
23
- compile ' org.eclipse.jgit:org.eclipse.jgit:4.3.0.201604071810-r'
24
-
25
- testCompile ' org.kohsuke:github-api:1.75'
26
- testCompile ' org.mockito:mockito-core:2.0.62-beta'
27
- testCompile ' junit:junit:4.12'
28
- testCompile ' com.github.ProjectKaiser:pk-vcs-test:master-SNAPSHOT'
29
- }
30
-
31
-
32
-
33
- task sourcesJar (type : Jar , dependsOn : classes) {
34
- classifier = ' sources'
35
- from sourceSets. main. allSource
36
- }
37
-
38
- task javadocJar (type : Jar , dependsOn : javadoc) {
39
- classifier = ' javadoc'
40
- from javadoc. destinationDir
41
- }
42
-
43
- artifacts {
44
- archives sourcesJar
45
- archives javadocJar
46
- }
1
+ apply plugin : ' java'
2
+ apply plugin : ' maven'
3
+
4
+ sourceCompatibility = JavaVersion . VERSION_1_7
5
+ targetCompatibility = JavaVersion . VERSION_1_7
6
+
7
+ group = ' com.projectkaiser.scm'
8
+ version = ' 1.0-SNAPSHOT'
9
+
10
+ repositories {
11
+ mavenCentral()
12
+ maven {
13
+ url " https://jitpack.io"
14
+ }
15
+ }
16
+
17
+ dependencies {
18
+ compile ' com.github.ProjectKaiser:pk-vcs-api:master-SNAPSHOT'
19
+ compile ' commons-logging:commons-logging:1.2'
20
+ compile ' org.eclipse.jgit:org.eclipse.jgit:4.3.0.201604071810-r'
21
+
22
+ testCompile ' org.kohsuke:github-api:1.75'
23
+ testCompile ' org.mockito:mockito-core:2.0.62-beta'
24
+ testCompile ' junit:junit:4.12'
25
+ testCompile ' com.github.ProjectKaiser:pk-vcs-test:master-SNAPSHOT'
26
+ }
27
+
28
+ task sourcesJar (type : Jar , dependsOn : classes) {
29
+ classifier = ' sources'
30
+ from sourceSets. main. allSource
31
+ }
32
+
33
+ task javadocJar (type : Jar , dependsOn : javadoc) {
34
+ classifier = ' javadoc'
35
+ from javadoc. destinationDir
36
+ }
37
+
38
+ artifacts {
39
+ archives sourcesJar
40
+ archives javadocJar
41
+ }
0 commit comments