Gradle alternative to maven "<packaging>pom</packaging>"

In Gradle multi-module project, is there any option to tell one of its submodule - not to generate any libs, jars etc.
My purpose is consists of :

Parent module // simple common parent aggregator
child module1 // only compiles and copies some compiled files to module2
child module2 // builds real uber jar with copied files from module1

So i want module1 not to produce any artifacts except compiled ones

Answered myself: