1
0
mirror of https://github.com/square/okhttp.git synced 2026-10-24 07:59:29 +03:00

41 Commits

Author SHA1 Message Date
Amir Golmoradi
e71e328496 Make build compatible with Gradle 9.8.1 Isolated Projects (#9807)
---------

Co-authored-by: Jake Wharton <jw@jakewharton.com>
2026-10-21 14:47:17 -04:00
Yuri Schimke
c2f7f5b505 Delete container tests (#9736) 2026-08-29 16:10:54 +01:00
Yuri Schimke
af32975442 Revert JVM args for Gradle
Remove heap and metaspace settings from gradle.properties
2026-03-20 08:47:08 +00:00
Yuri Schimke
a917c43f05 Gradle and vscode tweaks (#9379)
* Enhance Gradle configuration for improved build performance and efficiency

- Avoids GC
- Watches VFS
- isolated projects
2026-03-18 00:48:52 +00:00
Yuri Schimke
a3281017d9 Enable Gradle Configuration Cache — by refactoring OSGi/BND plugin (#9310)
* Enable Gradle Configuration Cache by refactoring OSGi/BND plugin

This commit enables Gradle's Configuration Cache feature, which was blocked by the BND (OSGi bundle) plugin's incompatibility.

The key changes are:
- A new `BndBuildAction` class is introduced. This class is a static, configuration-cache-compatible replacement for the BND plugin's default build action.
- The `Osgi.kt` build logic is refactored to use this new `BndBuildAction` instead of directly calling the BND plugin's action, which was not serializable.
- The `STABLE_CONFIGURATION_CACHE` feature preview is enabled in `settings.gradle.kts`.
- Gradle properties are updated to enable the configuration cache (`org.gradle.configuration-cache=true`).

* cleanup

* fixes

* fixes
2026-02-05 09:17:33 +00:00
Yuri Schimke
855c008a99 Fix configuration cache issues (#9308)
* Fix configuration cache issues
* allow disabling bnd for testing
2026-02-04 22:16:39 +00:00
Yuri Schimke
1672930a0d Enable AGP newDsl (#9269)
Enable AGP newDsl

- Rename to androidHostTest and include resources
- avoid running robolectric on JDK < 17
- Avoid connectedReleaseAndroidTest for now
2026-01-26 07:38:51 +00:00
Yuri Schimke
d75b142c12 Update to AGP 9 (#9264)
* Update to AGP 9

First milestone with compat workarounds in place.
2026-01-25 15:00:18 +00:00
Yuri Schimke
7f3a220877 Switch to Dokka v2 (#9263)
* Update Dokka to v2

update configuration to use experimental V2 plugin mode and adjust documentation generation scripts.
2026-01-25 12:37:13 +00:00
Yuri Schimke
5b2a1e139e Split okhttp core into Android and JVM (#8600) 2024-12-27 13:39:56 +00:00
Yuri Schimke
e1da8bc50e Dependency bumps (#8611) 2024-12-08 14:59:35 +00:00
Yuri Schimke
a990f78103 Add tests against MockServer and a SOCKS5 proxy (#8057) 2024-01-20 09:58:21 +00:00
Yuri Schimke
265cb04e99 Test with release build & update proguard config. (#8156) 2023-12-23 14:46:51 +00:00
Yuri Schimke
d03decd45a Kotlin 1.9 (#7952) 2023-07-22 13:28:51 +01:00
Yuri Schimke
33ace75841 Loom Support (#7367) 2023-01-03 10:07:36 +10:00
Yuri Schimke
1406944e1c Kotlin 1.8 (#7575)
* Kotlin 1.8 testing

* Kotlin 1.8 testing

* fix api

* Updates

* Updates

* Workaround build issue
2022-12-30 09:41:51 -05:00
Yuri Schimke
965a81dc61 Use settings the way god intended. (#7587) 2022-12-30 16:00:22 +10:00
Yuri Schimke
05718b4d87 Use HTML for docs (#7548) 2022-12-24 10:16:30 +10:00
Goooler
31cc5254ea Add cache actions to improve CI build speed (#7083) 2022-02-18 08:51:07 +00:00
Yuri Schimke
27dbedca9d Migrate to AndroidX for tests 2020-04-09 08:29:13 +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
e87d8b7853 Prepare next development version. 2019-12-31 16:39:21 -05:00
Jesse Wilson
b63debd827 Prepare for release 4.3.0. 2019-12-31 16:39:08 -05:00
Jesse Wilson
7a181c272b Prepare next development version. 2019-09-10 13:04:19 -04:00
Jesse Wilson
582f8ef2f7 Prepare for release 4.2.0. 2019-09-10 13:04:12 -04:00
Jesse Wilson
06f1c7522c Prepare next development version. 2019-08-12 13:00:11 -04:00
Jesse Wilson
4739b27806 Prepare for release 4.1.0. 2019-08-12 13:00:00 -04:00
Jesse Wilson
9998dbc2a3 Prepare next development version. 2019-06-26 19:30:41 -07:00
Jesse Wilson
911c5bf5b2 Prepare for release 4.0.0. 2019-06-26 19:30:33 -07:00
Jesse Wilson
510b911aea Prepare next development version. 2019-06-24 16:44:26 -07:00
Jesse Wilson
bad333c0a3 Prepare for release 4.0.0-RC3. 2019-06-24 16:44:19 -07:00
Jesse Wilson
8a66890c0f Prepare next development version. 2019-06-21 10:01:47 -04:00
Jesse Wilson
8603e2d20e Prepare for release 4.0.0-RC2. 2019-06-21 10:01:40 -04:00
Jesse Wilson
82335f9980 Prepare next development version. 2019-06-04 00:28:58 -04:00
Jesse Wilson
148938a178 Prepare for release 4.0.0-RC1. 2019-06-04 00:28:50 -04:00
Jesse Wilson
a26d8faa2d Prepare next development version. 2019-05-25 20:54:11 -04:00
Jesse Wilson
7925bfc5c5 Prepare for release 4.0.0-alpha02. 2019-05-25 20:53:59 -04:00
Jesse Wilson
0d09d4c01c Prepare next development version. 2019-05-08 21:41:55 -04:00
Jesse Wilson
8f21b934f9 Prepare for release 4.0.0-ALPHA01. 2019-05-08 20:54:28 -04:00
Jesse Wilson
c53f8db73d Configure gradle artifact uploads 2019-03-17 09:13:01 -04:00
Jesse Wilson
dc1e870d24 Basic Gradle support 2019-03-17 00:16:26 -04:00