Add maven-publish to Gradle build.
Remove IntelliJ files since we're Gradle-first now and will generate those as needed.