File tree Expand file tree Collapse file tree 2 files changed +27
-29
lines changed Expand file tree Collapse file tree 2 files changed +27
-29
lines changed Original file line number Diff line number Diff line change @@ -26,30 +26,6 @@ buildscript {
26
26
}
27
27
}
28
28
29
- // --------------- pom configuration ---------------
30
-
31
- def pomConfig = {
32
- licenses {
33
- license {
34
- name " The Apache Software License, Version 2.0"
35
- url " http://www.apache.org/licenses/LICENSE-2.0.txt"
36
- distribution " repo"
37
- }
38
- }
39
- developers {
40
- developer {
41
- id " JetBrains"
42
- name " JetBrains Team"
43
- organization " JetBrains"
44
- organizationUrl " http://www.jetbrains.com"
45
- }
46
- }
47
-
48
- scm {
49
- url " https://github.com/Kotlin/kotlinx.coroutines"
50
- }
51
- }
52
-
53
29
// --------------- Configure sub-projects with Kotlin sources ---------------
54
30
55
31
def sourceless = [' site' ]
@@ -72,10 +48,6 @@ configure(subprojects.findAll { !sourceless.contains(it.name) }) {
72
48
if (platform == " jvm" ) {
73
49
sourceCompatibility = 1.6
74
50
targetCompatibility = 1.6
75
-
76
- tasks. withType(JavaCompile ) {
77
- options. encoding = ' UTF-8'
78
- }
79
51
}
80
52
81
53
kotlin. experimental. coroutines " enable"
Original file line number Diff line number Diff line change @@ -4,6 +4,32 @@ apply plugin: 'maven'
4
4
apply plugin : ' maven-publish'
5
5
apply plugin : ' com.jfrog.bintray'
6
6
7
+ // --------------- pom configuration ---------------
8
+
9
+ def pomConfig = {
10
+ licenses {
11
+ license {
12
+ name " The Apache Software License, Version 2.0"
13
+ url " http://www.apache.org/licenses/LICENSE-2.0.txt"
14
+ distribution " repo"
15
+ }
16
+ }
17
+ developers {
18
+ developer {
19
+ id " JetBrains"
20
+ name " JetBrains Team"
21
+ organization " JetBrains"
22
+ organizationUrl " http://www.jetbrains.com"
23
+ }
24
+ }
25
+
26
+ scm {
27
+ url " https://github.com/Kotlin/kotlinx.coroutines"
28
+ }
29
+ }
30
+
31
+ // ------------- tasks
32
+
7
33
task sourcesJar (type : Jar , dependsOn : classes) {
8
34
classifier = ' sources'
9
35
from sourceSets. main. allSource
@@ -44,4 +70,4 @@ bintray {
44
70
45
71
bintrayUpload. doLast {
46
72
println (" Uploaded $project . name version $project . version " )
47
- }
73
+ }
You can’t perform that action at this time.
0 commit comments