Quantcast
Channel: Gradle Forums - Latest posts
Viewing all articles
Browse latest Browse all 20301

How to override the version comparison mechanism?

$
0
0

Thanks for new updates. I’m still naive gradle user. May I know where to add this block of solution? I have maven-to-gradle generated build.gradle file:

allprojects {
}

subprojects {
apply plugin: ‘java’
repositories {
}

sourceCompatibility = '1.8'

publishing {
    publications {
        maven(MavenPublication) {
            from(components.java)
        }
    }
}

tasks.withType(JavaCompile) {
    options.encoding = 'UTF-8'
}

}


Viewing all articles
Browse latest Browse all 20301

Trending Articles