bytedeco / gradle-javacpp

Gradle plugins to automate the build process of JavaCPP and JavaCV
Other
56 stars 20 forks source link

Fixes for Gradle Kotlin DSL #16

Closed equeim closed 3 years ago

equeim commented 3 years ago

Make BuildTask getters and setters public and add generic parameters to environmentVariables getter and setter.

Also make BuildTask an abstract class (instantiating tasks directly is not supported in Gradle and custom task classes are abstract in examples).

equeim commented 3 years ago

I remove the change making BuildTask abstract class (seems to not work with Gradle 5.1.1).

saudet commented 3 years ago

Does it need to be abstract for Kotlin though?