forked from edibleday/teavm-gradle-plugin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
executable file
·69 lines (55 loc) · 1.35 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
61
62
63
64
65
66
67
68
69
group "com.edibleday"
ext {
//teavmVersion = '0.5.1'
teavmVersion = 'master-SNAPSHOT'
}
buildscript {
ext {
kotlin_version = '1.2.21'
}
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: 'kotlin'
apply plugin: 'maven-publish'
version = '0.4.4-SNAPSHOT'
repositories {
maven { url 'https://jitpack.io' }
mavenCentral()
}
dependencies {
compile gradleApi()
compile localGroovy()
compile "com.github.konsoletyper.teavm:teavm-core:${teavmVersion}"
compile "com.github.konsoletyper.teavm:teavm-tooling:${teavmVersion}"
//compile "org.teavm:teavm-core:${teavmVersion}"
//compile "org.teavm:teavm-tooling:${teavmVersion}"
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compile 'org.apache.maven:maven-plugin-api:3.3.3'
}
task sourceJar(type: Jar) {
from sourceSets.main.allSource
from "AUTHORS"
from "LICENCE"
}
jar {
from "AUTHORS"
from "LICENCE"
}
publishing {
publications {
maven(MavenPublication) {
groupId project.group
artifactId 'teavm-gradle-plugin'
version project.version
from components.java
artifact sourceJar {
classifier "sources"
}
}
}
}