Commit Graph

433 Commits

Author SHA1 Message Date
Vyacheslav Gerasimov a9848305a3 Build: Use tar.gz extension for linux AS distributions 2019-12-25 20:50:52 +03:00
Vyacheslav Gerasimov 68f1d91e1b as40: Upgrade to AS 4.0 C7 2019-12-25 20:19:36 +03:00
Vyacheslav Gerasimov eda27ab298 Build: Add Ide.AS40 constant 2019-12-25 20:19:36 +03:00
Yan Zhulanow 5fe06ceb06 Pill: Support api/implementation configurations 2019-12-26 00:17:17 +09:00
Michael Kuzmin 254dc8f71c Build: Drop IntelliJ 2018.3 and Android Studio 3.4 support
Delete *.183 and *.as34 bunch-files
2019-12-19 18:31:07 +03:00
Vyacheslav Gerasimov 75c94f3b0f Build: Upgrade kotlin-build-gradle-plugin to 0.0.8 2019-12-19 17:45:31 +03:00
Vyacheslav Gerasimov 8d303af395 Build: Add build scan server url setting 2019-12-13 20:11:18 +03:00
Vyacheslav Gerasimov 724884513e Build: Extract build cache setup to kotlin-build-gradle-plugin 2019-12-13 20:11:18 +03:00
Vyacheslav Gerasimov 68ce5dbd90 Build: Use property for disabling/enabling local build cache 2019-12-13 20:11:18 +03:00
Vyacheslav Gerasimov bfcac5b091 Build: Update kotlin-build-gradle-plugin to 0.0.4 2019-12-13 20:11:18 +03:00
Vyacheslav Gerasimov 729b4d33cf Build: Replace deprecated compile configuration with implementation in build script of buildSrc 2019-12-13 20:11:18 +03:00
Vyacheslav Gerasimov 85dcc65695 Build: Use kotlin-build-gradle-plugin in build script of buildSrc 2019-12-13 20:11:18 +03:00
Vyacheslav Gerasimov 6ef3831f14 Build: Take parent directory as rootProject directory in case of buildSrc 2019-12-03 16:16:44 +03:00
Vyacheslav Gerasimov 462d6ac5b6 Build: Add remote build cache parameters for teamcity builds 2019-12-03 16:16:44 +03:00
Vyacheslav Gerasimov d3c1ef9251 Build: Use kotlin-build-gradle-plugin in buildSrc 2019-12-03 16:16:44 +03:00
Vyacheslav Gerasimov d74e53e6bb Build: Properly annotate input properties of IntelliJInstrumentCodeTask 2019-11-27 21:26:33 +03:00
Vyacheslav Gerasimov 5f158f5ce7 Build: Add kotlin-build-gradle-plugin & use it prebuilt from bintray
With extracted buildProperties.kt from buildSrc required for settings.gradle, using buildSrc classes is not allowed there since gradle 6.0
2019-11-27 21:26:32 +03:00
Nikolay Krasko a9baec4727 Add headless mode for tests to avoid graphic card switch 2019-11-27 12:26:54 +03:00
Mikhael Bogdanov cf15359079 Decrease number of forked test processes on local machine
There are no any benefits in execution time
2019-11-08 11:32:30 +01:00
Nikolay Krasko f6bdaf992e Fix jps build in buildSrc by explicitly using mutable set 2019-11-07 20:23:29 +03:00
Vyacheslav Gerasimov 3b088818a5 Build: Add sources and javadocs to Kotlin Plugin publication 2019-11-01 16:22:42 +03:00
Vyacheslav Gerasimov 95ac0e328f Build: Extract bootstrap teamcity url to parameter 2019-10-31 15:41:57 +03:00
Vyacheslav Gerasimov 17bd547666 Build: Fix internalKotlinRepo url for JPS build 2019-10-30 16:38:10 +03:00
Alexander Udalov 28187da750 Fix compilation of :idea:compileTestKotlin
Original patch authored by @h0tk3y.
2019-10-30 12:56:42 +01:00
Kirill Shmakov b76d58de54 Handle case when property is missed 2019-10-15 09:48:15 +03:00
Kirill Shmakov 02cedfde21 Make build more stable 2019-10-14 19:31:03 +03:00
Yan Zhulanow 339ba499fb Pill: Add IDEA Ultimate run configuration 2019-10-08 18:17:04 +09:00
Vyacheslav Gerasimov c1e1dbd83e Build: Fix usages of "java.home" for tools.jar dependency
#KT-33984
2019-09-25 17:54:18 +03:00
Vyacheslav Gerasimov 71416f9dbf Build: Make internalKotlinRepo url independent from bootstrap 2019-09-25 15:58:49 +03:00
Vyacheslav Gerasimov 1b5417e422 Minor: Build use cache-redirector for bootstrap repos 2019-09-25 15:58:49 +03:00
Vyacheslav Gerasimov ed59741e14 Minor: Reformat 'buildSrc/src/main/kotlin/Bootstrap.kt' 2019-09-25 15:58:49 +03:00
Vyacheslav Gerasimov b7ebe17fe0 Build: Add kotlin-bootstrap repository to bootstrap options 2019-09-25 15:58:49 +03:00
Vyacheslav Gerasimov c220ad4b00 Build: Add dsl constants for 193 platform 2019-09-17 21:16:12 +03:00
Vyacheslav Gerasimov cb482571cb Build: Fix javadocJar task configuration
Add artifact outside of lazy configuration lambda, otherwise it is never
added
2019-09-16 15:26:56 +03:00
Sascha Peilicke ae8c93de6a Support symlinked JAVA_HOME
When testing for the JAVA_HOME environment variable, expand potential
symlinks first. This is almost guaranteed to be the case on all modern
Linux distributions putting the JDK / JRE behind update-alternatives to
be able to select the *current* version [0], e.g. on Fedora:

  $ ls -l $JAVA_HOME
  lrwxrwxrwx. ... /usr/lib/jvm/java -> /etc/alternatives/java_sdk

[0] https://linux.die.net/man/8/update-alternatives
2019-09-05 16:36:08 +03:00
Ilya Chernikov 72b68ee683 Fix proguarding of jline library in compiler
#KT-32234 fixed
#KT-32259 fixed
2019-09-04 09:35:04 +02:00
Nikolay Krasko 8ae4293a0f Remove 181 branch from build scripts
#KT-33536 Fixed
2019-08-30 12:14:54 +03:00
Nikolay Krasko 0ae9240e5f Remove 182 and AS33 from build scripts
#KT-33536 Fixed
2019-08-30 12:14:50 +03:00
Nikolay Krasko 1c4ee6bd79 Remove as33 support
#KT-33536 Fixed
2019-08-30 12:13:09 +03:00
Ilya Chernikov 2fe01f9086 Refactor publishing plugin to lazy tasks API 2019-08-21 20:20:09 +02:00
Ilya Chernikov 315a9d66a0 Refactor more tasks to lazy API 2019-08-21 20:20:08 +02:00
Ilya Chernikov 2ed8fa7624 Convert main task creating helper to lazy API, refactor accordingly 2019-08-21 20:20:08 +02:00
Ilya Chernikov 0f41dc814f Switch many common tasks defined in buildSrc to lazy creation
also refactor some locally defined tasks to the creation avoidance API
2019-08-21 20:20:08 +02:00
Ilya Chernikov 8219d9853c Implement configuration for describing only published runtime dependencies...
and fix runtime dependencies for published scripting artifacts
2019-08-20 21:17:56 +02:00
Yan Zhulanow b3941c4ed0 Pill: Fix platform source attachment in compiler modules 2019-08-07 01:15:33 +09:00
Vyacheslav Gerasimov 0571f90762 Build: Add kotlin.build.jar.compression property
Is `true` on teamcity and `false` locally by default

 #KT-32573
2019-08-06 15:40:40 +03:00
Vyacheslav Gerasimov 659c399d30 Build: Add kotlin.build.dependencies.dir property
To specify directory downloaded dependencies stored in

 #KT-30310
2019-08-06 15:40:40 +03:00
Vyacheslav Gerasimov 67b84cf35d Use properties bintray.user & bintray.apikey for AS repo 2019-08-01 17:07:11 +03:00
Alexey Tsvetkov 4db3dcc28f Use short temp dirs names only in gradle integration tests 2019-07-31 04:48:20 +03:00
Alexey Tsvetkov 54227e15ff Do not set max heap size twice
The parameter is also set in the next statement (`maxHeapSize = "1600m"`)
2019-07-31 04:48:20 +03:00