Class KlibRemoteSpec

java.lang.Object
me.kzheart.klib.gradle.KlibRemoteSpec

public class KlibRemoteSpec extends Object
klib { remote { } } 的构建期 Remote 接入配置。

publicKey 是只写的公开项目标识(rpk_live_/rpk_test_),会被写进随 JAR 分发的常量类。采集能力默认关闭,控制台运行策略只能在这里声明的上限内继续收紧。

  • Constructor Details

    • KlibRemoteSpec

      @Inject public KlibRemoteSpec(org.gradle.api.model.ObjectFactory objects)
  • Method Details

    • getEndpoint

      public org.gradle.api.provider.Property<String> getEndpoint()
    • getPublicKey

      public org.gradle.api.provider.Property<String> getPublicKey()
    • getExceptions

      public org.gradle.api.provider.Property<Boolean> getExceptions()
    • getLogs

      public org.gradle.api.provider.Property<Boolean> getLogs()
    • getManualIncidents

      public org.gradle.api.provider.Property<Boolean> getManualIncidents()
    • endpoint

      public void endpoint(String value)
    • publicKey

      public void publicKey(String value)