Migrate seadroid to gradle.