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 ' org.tmatesoft.svnkit:svnkit:1.8.14'
23
- compile ' commons-logging:commons-logging:1.2'
24
-
25
- testCompile ' junit:junit:4.12'
26
- testCompile ' com.github.ProjectKaiser:pk-vcs-test:master-SNAPSHOT'
27
- testCompile ' org.mockito:mockito-core:2.0.62-beta'
28
- }
29
-
30
- task sourcesJar (type : Jar , dependsOn : classes) {
31
- classifier = ' sources'
32
- from sourceSets. main. allSource
33
- }
34
-
35
- task javadocJar (type : Jar , dependsOn : javadoc) {
36
- classifier = ' javadoc'
37
- from javadoc. destinationDir
38
- }
39
-
40
- artifacts {
41
- archives sourcesJar
42
- archives javadocJar
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 = ' 2 .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 ' org.tmatesoft.svnkit:svnkit:1.8.14'
23
+ compile ' commons-logging:commons-logging:1.2'
24
+
25
+ testCompile ' junit:junit:4.12'
26
+ testCompile ' com.github.ProjectKaiser:pk-vcs-test:master-SNAPSHOT'
27
+ testCompile ' org.mockito:mockito-core:2.0.62-beta'
28
+ }
29
+
30
+ task sourcesJar (type : Jar , dependsOn : classes) {
31
+ classifier = ' sources'
32
+ from sourceSets. main. allSource
33
+ }
34
+
35
+ task javadocJar (type : Jar , dependsOn : javadoc) {
36
+ classifier = ' javadoc'
37
+ from javadoc. destinationDir
38
+ }
39
+
40
+ artifacts {
41
+ archives sourcesJar
42
+ archives javadocJar
43
43
}
0 commit comments