-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathpublish.gradle
43 lines (35 loc) · 1.35 KB
/
publish.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
apply plugin: 'maven-publish'
version '0.8.8'
task sourceJar(type: Jar) {
from android.sourceSets.main.java.srcDirs
classifier "source"
}
afterEvaluate {
publishing {
publications {
release(MavenPublication) {
from components.release
artifact(sourceJar)
groupId 'com.github.appspell'
artifactId 'ShaderView'
version this.version
pom {
name = "ShaderView"
description = "This library is the easiest way to use OpenGL shaders as an Android View. You just simply need to add ShaderView in your layout and set up shaders."
url.set("https://github.com/appspell/ShaderView")
licenses {
license {
name.set("MIT")
url.set("https://github.com/appspell/ShaderView/blob/main/LICENSE")
}
}
scm {
connection.set("scm:git:https://github.com/appspell/ShaderView.git")
developerConnection.set("scm:git:https://github.com/appspell/ShaderView.git")
url.set("https://github.com/appspell/ShaderView")
}
}
}
}
}
}