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 {
2626 }
2727}
2828
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-
5329// --------------- Configure sub-projects with Kotlin sources ---------------
5430
5531def sourceless = [' site' ]
@@ -72,10 +48,6 @@ configure(subprojects.findAll { !sourceless.contains(it.name) }) {
7248 if (platform == " jvm" ) {
7349 sourceCompatibility = 1.6
7450 targetCompatibility = 1.6
75-
76- tasks. withType(JavaCompile ) {
77- options. encoding = ' UTF-8'
78- }
7951 }
8052
8153 kotlin. experimental. coroutines " enable"
Original file line number Diff line number Diff line change @@ -4,6 +4,32 @@ apply plugin: 'maven'
44apply plugin : ' maven-publish'
55apply plugin : ' com.jfrog.bintray'
66
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+
733task sourcesJar (type : Jar , dependsOn : classes) {
834 classifier = ' sources'
935 from sourceSets. main. allSource
@@ -44,4 +70,4 @@ bintray {
4470
4571bintrayUpload. doLast {
4672 println (" Uploaded $project . name version $project . version " )
47- }
73+ }
You can’t perform that action at this time.
0 commit comments