As/IDEA android java8 lambda表达式支持(retrolambda用法)

https://github.com/evant/gradle-retrolambda

https://plugins.gradle.org/plugin/me.tatarka.retrolambda#groovy-usage

me.tatarka.retrolambda

https://github.com/evant/gradle-retrolambda.git

https://github.com/evant/gradle-retrolambda

 

retrolambda plugin usage in as/idea:

Version 3.7.1 (latest)

https://github.com/evant/gradle-retrolambda.git
plugins {
  id "me.tatarka.retrolambda" version "3.7.1"
}


buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.me.tatarka:gradle-retrolambda:3.7.1"
  }
}

apply plugin: "me.tatarka.retrolambda"
 

As/IDEA android java8 lambda表达式支持(retrolambda用法)

上一篇:iOS的Image Not Found问题


下一篇:uniapp