-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
60 lines (51 loc) · 1.15 KB
/
build.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
plugins {
id 'groovy'
id 'java-gradle-plugin'
id 'maven-publish'
}
repositories {
mavenCentral()
}
configurations {
//jarLibs
}
dependencies {
compile gradleApi()
compile localGroovy()
compile "com.typesafe:config:1.4.1"
compile "com.squareup:kotlinpoet:1.10.2"
//jarLibs "com.typesafe:config:1.4.1"
//jarLibs "com.squareup:kotlinpoet:1.10.2"
}
//jar {
// from {
// configurations.jarLibs.filter{ it.exists() }.collect { it.isDirectory() ? it : zipTree(it) }
// }
//}
sourceCompatibility = 1.8
targetCompatibility = 1.8
gradlePlugin {
plugins {
mojoconfig {
id = 'com.github.pstanoev.android-mojoconfig'
implementationClass = 'com.pstanoev.MojoConfig'
}
}
}
publishing {
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/pstanoev/android-mojoconfig")
credentials {
username = "pstanoev"
password = System.getenv("GPR_TOKEN")
}
}
}
publications {
gpr(MavenPublication) {
from(components.java)
}
}
}