File tree 2 files changed +22
-13
lines changed
src/main/java/com/pawn/autodistributedlock 2 files changed +22
-13
lines changed Original file line number Diff line number Diff line change @@ -6,13 +6,11 @@ plugins {
6
6
id ' maven-publish'
7
7
}
8
8
9
- group = ' com.pawn.autodistributedlock '
10
- version = ' 0 .0.10 -SNAPSHOT'
9
+ group = ' com.github.devrunner21 '
10
+ version = ' 1 .0.0 -SNAPSHOT'
11
11
12
- // group = 'com.pawn'
13
- // version = '0.0.10-SNAPSHOT'
14
- // sourceCompatibility = '11'
15
- // targetCompatibility = '11'
12
+ sourceCompatibility = ' 11'
13
+ targetCompatibility = ' 11'
16
14
17
15
configurations {
18
16
compileOnly {
@@ -52,11 +50,22 @@ publishing {
52
50
}
53
51
}
54
52
55
- tasks. named(' test' ) {
56
- useJUnitPlatform()
53
+ task sourcesJar (type : Jar , dependsOn : classes) {
54
+ classifier = ' sources'
55
+ from sourceSets. main. allSource
56
+ }
57
+
58
+ task javadocJar (type : Jar , dependsOn : javadoc) {
59
+ classifier = ' javadoc'
60
+ from javadoc. destinationDir
57
61
}
58
62
59
- wrapper {
60
- gradleVersion = " 7.3.3"
61
- distributionType = Wrapper.DistributionType . ALL
63
+ artifacts {
64
+ archives bootJar
65
+ archives sourcesJar
66
+ archives javadocJar
67
+ }
68
+
69
+ tasks. named(' test' ) {
70
+ useJUnitPlatform()
62
71
}
Original file line number Diff line number Diff line change 6
6
7
7
@ EnableCaching
8
8
@ SpringBootApplication
9
- public class DistributedLockApplication {
9
+ public class AutoDistributedLockApplication {
10
10
11
11
public static void main (String [] args ) {
12
- SpringApplication .run (DistributedLockApplication .class , args );
12
+ SpringApplication .run (AutoDistributedLockApplication .class , args );
13
13
}
14
14
15
15
}
You can’t perform that action at this time.
0 commit comments