name.remal.noarg-constructor

Plugin class: name.remal.gradle_plugins.plugins.noarg_constructor.NoargConstructorPlugin

plugins {
    id 'name.remal.noarg-constructor' version '1.0.178'
}
plugins {
    id("name.remal.noarg-constructor") version "1.0.178"
}

 

This plugin works only if java plugin is applied.

The plugin applies name.remal.classes-processing plugin.

 

This plugin processes all compiled classes. It creates no-arg protected synthetic constructor if it's possible:

  • The class extends java.lang.Object
  • Parent class has public or protected no-arg constructor

Created no-arg synthetic constructor does nothing and basically is needed for deserialization.