Skip to content

Commit 2340af4

Browse files
committed
提交jitPack 仓库
1 parent b5238af commit 2340af4

3 files changed

Lines changed: 24 additions & 1 deletion

File tree

jitpack.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
jdk:
2+
- openjdk11

printlibrary/build.gradle

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,27 @@ android {
3636
// rename('classes.jar', 'printerLibrary.jar') //命名为comlibrary.jar
3737
// }
3838
// makeJar.dependsOn(build)
39+
40+
// afterEvaluate {
41+
// publishing {
42+
// publications {
43+
// release(MavenPublication) {
44+
// from components.release
45+
//
46+
// groupId = 'com.github.iminsoftware'
47+
// artifactId = 'PrinterLibrary'
48+
// version = '1.0.0'
49+
// }
50+
//// debug(MavenPublication) {
51+
//// from components.debug
52+
////
53+
//// groupId = 'com.github.iminsoftware'
54+
//// artifactId = 'PrinterLibrary'
55+
//// version = '1.0.0'
56+
//// }
57+
// }
58+
// }
59+
// }
3960
}
4061

4162
dependencies {

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
include ':app'
21
rootProject.name='SunmiPrinterDemo'
32
include ':printlibrary'
3+
if (!System.env.JITPACK) include ':app'

0 commit comments

Comments
 (0)