Skip to content

Commit d630406

Browse files
committed
added lib files
1 parent 13d1441 commit d630406

File tree

14 files changed

+135
-54
lines changed

14 files changed

+135
-54
lines changed

.gradle/4.6/fileHashes/fileHashes.bin

37 KB
Binary file not shown.
0 Bytes
Binary file not shown.
1.11 KB
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

.gradle/4.6/javaCompile/taskJars.bin

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.

.idea/caches/build_file_checksums.ser

0 Bytes
Binary file not shown.

.idea/workspace.xml

+85-52
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

androidscratchcard/build.gradle

+41-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
apply plugin: 'com.android.library'
2+
apply plugin: 'com.github.dcendents.android-maven'
3+
4+
group='com.github.jitpack'
25

36
android {
47
compileSdkVersion 28
@@ -19,8 +22,45 @@ android {
1922

2023
}
2124

25+
allprojects {
26+
repositories {
27+
jcenter()
28+
maven { url "https://jitpack.io" }
29+
google()
30+
maven {
31+
url 'http://oss.jfrog.org/artifactory/oss-snapshot-local'
32+
}
33+
maven {
34+
url "https://maven.google.com"
35+
}
36+
}
37+
}
38+
2239
dependencies {
2340
implementation fileTree(dir: 'libs', include: ['*.jar'])
24-
2541
implementation 'com.android.support:appcompat-v7:28.0.0'
2642
}
43+
44+
// build a jar with source files
45+
task sourcesJar(type: Jar) {
46+
from android.sourceSets.main.java.srcDirs
47+
classifier = 'sources'
48+
}
49+
50+
task javadoc(type: Javadoc) {
51+
failOnError false
52+
source = android.sourceSets.main.java.sourceFiles
53+
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
54+
classpath += configurations.compile
55+
}
56+
57+
// build a jar with javadoc
58+
task javadocJar(type: Jar, dependsOn: javadoc) {
59+
classifier = 'javadoc'
60+
from javadoc.destinationDir
61+
}
62+
63+
artifacts {
64+
archives sourcesJar
65+
archives javadocJar
66+
}

app/build.gradle

+7
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ android {
1717
}
1818
}
1919

20+
allprojects {
21+
repositories {
22+
jcenter()
23+
maven { url "https://jitpack.io" }
24+
}
25+
}
26+
2027
dependencies {
2128
implementation fileTree(include: ['*.jar'], dir: 'libs')
2229
implementation 'com.android.support:appcompat-v7:28.0.0'

build.gradle

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ buildscript {
88
}
99
dependencies {
1010
classpath 'com.android.tools.build:gradle:3.2.1'
11-
11+
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
1212

1313
// NOTE: Do not place your application dependencies here; they belong
1414
// in the individual module build.gradle files
@@ -19,6 +19,7 @@ allprojects {
1919
repositories {
2020
google()
2121
jcenter()
22+
maven { url "https://jitpack.io" }
2223
}
2324
}
2425

0 commit comments

Comments
 (0)