jar { manifest { attributes 'Implementation-Version': '1.0' // 2. Add manifest attribute } }
Working with repositories
repositories { flatDir { dirs 'libs' } } repositories { mavenCentral() mavenLocal() jcenter() } repositories { maven { url 'https://repo.foo.org/m2' } } repositories { ivy { url 'https://repo.foo.org/m2' credentials { username 'user' password 'secret' } } }