Jake Wharton
6c12fa18fa
Switch to maintained Shadow plugin ( #8779 )
2025-05-17 01:15:23 -04:00
Jake Wharton
85ff1f6064
Remove Guava ( #8732 )
2025-04-09 10:00:31 +03:00
renovate[bot]
a51cfbf841
Update dependency com.diffplug.spotless:spotless-plugin-gradle to v7 ( #8702 )
...
* Update dependency com.diffplug.spotless:spotless-plugin-gradle to v7
* Reformat
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jake Wharton <jw@squareup.com >
2025-03-19 15:25:20 -04:00
Yuri Schimke
5b2a1e139e
Split okhttp core into Android and JVM ( #8600 )
2024-12-27 13:39:56 +00:00
Yuri Schimke
6947be1baa
Follow task avoidance guidance. ( #8632 )
...
* Follow task avoidance guidance.
https://docs.gradle.org/current/userguide/task_configuration_avoidance.html#sec:old_vs_new_configuration_api_overview
2024-12-26 19:24:49 +02:00
Yuri Schimke
2281a4c2e4
Build native-image on JDK 11+ ( #8625 )
2024-12-24 10:17:11 +00:00
Yuri Schimke
fb22f4973e
Update to official GraalVM tooling ( #8613 )
2024-12-21 10:56:29 +02:00
Yuri Schimke
e1da8bc50e
Dependency bumps ( #8611 )
2024-12-08 14:59:35 +00:00
Jesse Wilson
4becb22672
Make sure we have copyright headers ( #8329 )
2024-04-04 23:30:42 -04:00
Jesse Wilson
a228fd64cc
Reformat with Spotless ( #8180 )
...
* Enable spotless
* Run spotlessApply
* Fixup trimMargin
* Re-run spotlessApply
2024-01-07 20:13:22 -05:00
Jesse Wilson
0e312d7804
Prepare to enable Spotless ( #8179 )
...
* Prepare to enable Spotless
I'm not super keen on any of these changes, but I am very
keen on having automatic formatting.
* Don't actually enable Spotless yet
2024-01-07 11:05:34 -05:00
Jesse Wilson
c056530682
Switch back to the kotlin JVM plugin ( #8149 )
...
* Switch back to the kotlin JVM plugin
This does a ton of file moves from jvmMain to main, and jvmTest to test.
* Don't use AnimalSniffer on okcurl
* Use assertk more (#8150 )
2023-12-20 18:27:07 -05:00
Jesse Wilson
6b7b611308
Remove expect/actuals ( #8147 )
...
* Remove expect/actuals from okcurl
* Remove expect/actuals from okhttp-coroutines
* Remove expect/actuals from okhttp
* Remove expect/actuals from okhttp-testing-support
* Fixup build scripts
2023-12-19 07:37:45 -05:00
Benoît Quenaudon
68105a4832
Removing all JS variants ( #8145 )
2023-12-18 10:49:23 -05:00
Yuri Schimke
95cb15ab4d
Disable javadoc ( #8025 )
2023-09-16 10:38:35 +01:00
Yuri Schimke
d03decd45a
Kotlin 1.9 ( #7952 )
2023-07-22 13:28:51 +01:00
Yuri Schimke
e7024c019c
Simplify generated source tasks ( #7866 )
2023-05-27 18:11:23 +01:00
renovate[bot]
06bbe55492
Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.24.0 ( #7673 )
...
* Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.24.0
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Yuri Schimke <yuri@schimke.ee >
2023-02-18 14:42:50 +00:00
Yuri Schimke
bb23c677c8
Bump to Kotlin 1.7.10 ( #7446 )
2022-09-18 08:37:08 +01:00
Yuri Schimke
ed21bd7cab
Okcurl multiplatform build ( #7416 )
2022-08-15 17:21:20 +03:00
Yuri Schimke
fb6e7621f8
Bump graal to 22.2.0 ( #7409 )
2022-08-07 13:37:48 +01:00
Andrew (Paradi) Alexander
d5a385c20a
Fix ./okcurl delegate executable ( #7199 )
2022-03-30 06:41:17 +01:00
Andrew (Paradi) Alexander
6235f29cef
Migrate okcurl test from Java to Kotlin ( #7198 )
2022-03-29 14:54:51 -07:00
Yuri Schimke
362f53546d
Adopt Version Catalog and Updates plugin ( #7075 )
2022-02-15 23:38:32 +00:00
Goooler
f5758b7f26
Enable Gradle's type-safe project accessors ( #7069 )
2022-02-08 20:01:28 +00:00
Goooler
5cfc040daf
Replace StandardCharsets with Charsets in Kotlin ( #6986 )
2022-01-08 16:17:43 +00:00
Goooler
2831751f3c
Update dependencies ( #6938 )
2021-11-30 06:39:45 +00:00
Goooler
8debc78b00
Simplify gradle kts ( #6931 )
2021-11-27 12:31:27 +00:00
Jesse Wilson
d9a65a85c5
Switch to Vanniktech for Maven publishing ( #6929 )
...
* Switch to Vanniktech for Maven publishing
Steal configuration from Okio, which already works nicely.
* Update mockwebserver-junit5/build.gradle.kts
Co-authored-by: Benoît Quenaudon <bquenaudon@squareup.com >
Co-authored-by: Benoît Quenaudon <bquenaudon@squareup.com >
2021-11-26 06:58:00 -05:00
Jesse Wilson
35bb1740a4
Convert the main build.gradle file to KTS ( #6925 )
...
I attempted to do a literal translation as much as possible.
Subprojects now need plugins to be configured directly so they
can use the appropriate syntax.
2021-11-24 07:19:39 +00:00
Goooler
e1af67f082
Declare types & Cleanup ( #6842 )
...
* Declare types
* Code cleanup
* Declare types
2021-08-30 23:32:43 -04:00
Goooler
e016350e5a
Convert module gradle builds files to kts ( #6830 )
2021-08-12 08:36:23 +01:00
Goooler
cc3ce11fc4
Code cleanup and imports ( #6822 )
2021-08-03 14:52:10 +03:00
Goooler
0111b5f648
Kapt picocliCompiler in okcurl module ( #6807 )
2021-08-01 22:39:53 +03:00
Goooler
c1e4765cec
Extract dependencies to Dependencies ( #6799 )
2021-07-31 15:50:52 +03:00
Goooler
619c3256e7
Convert native-image gradle to kts ( #6798 )
2021-07-31 09:35:08 +03:00
Yuri Schimke
738357997b
Run native image tests in CI ( #6660 )
2021-07-28 15:56:04 +03:00
Rob
274b6614ad
Build optimisations ( #6698 )
...
- Normalize test resources files containing timestamps
- Make explicit the dependency from :okcurl:sourcesJar upon :okcurl:copyResourcesTemplates
- Make explicit the dependency from :okhttp:sourcesJar upon :okhttp:copyJavaTemplates
- Disable another locally-failing test
- Add a comment about the test task input normalization.
- Ignore the JARs' "Bnd-LastModified" property in the META-INF/MANIFEST
.MF when Gradle determines if determining if task inputs have changed.
Signed-off-by: Rob Moore <rmoore@gradle.com >
2021-06-07 08:47:27 +10:00
Yuri Schimke
e27e7a3635
Gradle 7.0 upgrade ( #6623 )
2021-04-25 14:10:41 +01:00
Yuri Schimke
b607bb0aa8
Partial move to gradle kotlin ( #6532 )
2021-02-06 14:57:47 +00:00
Yuri Schimke
e2f3093c6f
Graal 21 Upgrade ( #6522 )
2021-01-23 16:32:16 +00:00
Yuri Schimke
3d922411b9
Graal 20.3.0 ( #6427 )
2020-11-18 07:39:48 -05:00
Yuri Schimke
8e270a171d
Okcurl upgrade and cleanup ( #6417 )
...
* Cleanup okcurl build
* Cleanup okcurl build
2020-11-13 06:23:44 -05:00
Yuri Schimke
c194980c7f
Automatic Graal support in okhttp core ( #6292 )
...
Uses SVM annotated methods to substitute and avoid native image build issues.
2020-10-02 08:41:01 +01:00
Yuri Schimke
a76c40a935
Kotlin 1.4 dependency upgrade and language features ( #5947 )
2020-09-06 16:36:12 +01:00
Yuri Schimke
15b7d47185
JSSE Debug in tests ( #6041 )
2020-05-17 18:10:09 +01:00
Yuri Schimke
19771365f2
Rename to src/main/kotlin ( #5938 )
...
Follows the default path logic for kotlin classes.
2020-04-11 17:15:25 +01:00
Jesse Wilson
e6cefb7a4d
Switch to Gradle's Maven Publishing Plugin
...
This removes a bunch of low-value stuff from the pom.xml files:
- name
- description
- licence distribution ('repo')
- developers clause
- test dependencies
I don't think any of this will be missed, and it shrinks the pom.xml
file to the minimal set of useful stuff.
This also causes us to publish a gradle .module file. This is the
motivation for this change. It'll allow us to ship a Gradle platform,
which is a more capable than a Maven BOM.
2020-01-19 21:44:55 -05:00
Jesse Wilson
c1d50e371f
Upgrade Okio and some build dependencies
...
The new ktlint sorts imports which makes this diff large.
The new japicmp ignores 'final' modifier changes in final classes.
We adopt the Google style for checkstyle.xml.
Okio readByteString() now uses segments more aggressively, so we
need to mitigate that to avoid tracking those segments in a test.
2020-01-11 22:24:12 -05:00
Jesse Wilson
db39fa4a93
Remove the application plugin from okcurl
...
I can't have both this and shadow concurrently because they both attempt
to use the same classifier when publishing.
2019-08-12 11:55:55 -04:00