Codebase list intellij-java-compatibility / upstream/latest build.gradle
upstream/latest

Tree @upstream/latest (Download .tar.gz)

build.gradle @upstream/latestraw · history · blame

plugins {
    id 'java'
    id "com.jfrog.bintray" version "1.8.4"
}

apply plugin: 'maven-publish'

group 'org.jetbrains.intellij.deps'
version '1.0.1'

sourceCompatibility = 1.8
targetCompatibility = 1.8

repositories {
    mavenCentral()
}

dependencies {
    testCompile group: 'junit', name: 'junit', version: '4.12'
}

task sourceJar(type: Jar) {
    from sourceSets.main.java
}

artifacts {
    archives sourceJar
}

publishing {
    publications {
        MyPublication(MavenPublication) {
            from components.java
            groupId 'org.jetbrains.intellij.deps'
            artifactId 'java-compatibility'
            version '1.0.1'
            artifact sourceJar {
                classifier "sources"
            }
        }
    }
}

bintray {
    user = System.getenv('BINTRAY_USER')
    key = System.getenv('BINTRAY_KEY')

    publish = true

    pkg {
        repo = 'intellij-third-party-dependencies'
        name = 'java-compatibility'
        userOrg = 'jetbrains'

        version {
            name = '1.0.1'
        }
    }

    publications = ['MyPublication']
}