File tree Expand file tree Collapse file tree 2 files changed +33
-2
lines changed Expand file tree Collapse file tree 2 files changed +33
-2
lines changed Original file line number Diff line number Diff line change 11plugins {
22 id ' java-library'
3+ id ' maven'
34}
45
5- group ' com.wechat.pay '
6+ group ' com.github.wechatpay-apiv3 '
67version ' 0.1.4'
78
89sourceCompatibility = 1.8
10+ targetCompatibility = 1.8
911
1012repositories {
1113 jcenter()
3234 )
3335 }
3436}
37+
38+ task sourcesJar (type : Jar ) {
39+ from sourceSets. main. allJava
40+ archiveClassifier = ' sources'
41+ }
42+
43+ artifacts {
44+ archives sourcesJar
45+ }
46+
47+ install {
48+ repositories. mavenInstaller {
49+ pom. project {
50+ licenses {
51+ license {
52+ name ' The Apache Software License, Version 2.0'
53+ url ' http://www.apache.org/licenses/LICENSE-2.0.txt'
54+ distribution ' repo'
55+ }
56+ }
57+ }
58+ }
59+ }
60+
61+ wrapper {
62+ gradleVersion = " 5.4.1"
63+ distributionType = Wrapper.DistributionType . ALL
64+ }
Original file line number Diff line number Diff line change 1+ # Mon Jun 03 16:31:01 CST 2019
12distributionBase =GRADLE_USER_HOME
23distributionPath =wrapper/dists
3- distributionUrl =https\://services.gradle.org/distributions/gradle-5.4.1-bin.zip
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
6+ distributionUrl =https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
You can’t perform that action at this time.
0 commit comments