KGP 1.5.0 Leak Patcher

A simple Gradle plugin that auto-patches the memory leak in Kotlin Gradle Plugin 1.5.0.

Лицензия

Лицензия

Группа

Группа

dev.zacsweers
Идентификатор

Идентификатор

kgp-150-leak-patcher
Последняя версия

Последняя версия

1.1.0
Дата

Дата

Тип

Тип

pom.sha512
Описание

Описание

KGP 1.5.0 Leak Patcher
A simple Gradle plugin that auto-patches the memory leak in Kotlin Gradle Plugin 1.5.0.
Ссылка на сайт

Ссылка на сайт

https://github.com/ZacSweers/kgp-150-leak-patcher/
Система контроля версий

Система контроля версий

https://github.com/ZacSweers/kgp-150-leak-patcher/

Скачать kgp-150-leak-patcher

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.jetbrains.kotlin : kotlin-stdlib-jdk8 jar 1.5.0

Модули Проекта

Данный проект не имеет модулей.

kgp-150-leak-patcher

A simple plugin to automatically patch the memory leak in Kotlin Gradle Plugin 1.5.0 in https://youtrack.jetbrains.com/issue/KT-46368.

Implementation based on David Burström's workaround here.

Usage

Apply the plugin in the root build.gradle file, no other configuration needed. It is only applicable for KGP 1.5.0 (not 1.4.32, should be fixed in 1.5.10). Any other version will print a warning and no-op.

The minimum required Gradle version is 6.1.

plugins {
  id("dev.zacsweers.kgp-150-leak-patcher") version "1.1.0"
}

// Or legacy way
buildscript {
  dependencies {
    classpath("dev.zacsweers:kgp-150-leak-patcher:1.1.0")
  }
}

apply(plugin = "dev.zacsweers.kgp-150-leak-patcher")

If you need to disable the applicability check for some reason, it can be disabled by setting the kgp15leak.checkApplicability property to false.

Snapshots of the development version are available in Sonatype's snapshots repository.

License

Copyright (C) 2021 Zac Sweers

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Версии библиотеки

Версия
1.1.0
1.0.1
1.0.0