gradle setup (build.gradle)
repositories {
jcenter() // maven { url "https://jcenter.bintray.com" }
}
dependencies {
compile "com.github.daggerok:kotlin-html-dsl:1.0.ALL"
}
or shorter, just pom.xml
<repositories>
<repository>
<id>bintray-central</id>
<url>https://jcenter.bintray.com</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.github.daggerok</groupId>
<artifactId>kotlin-html-dsl</artifactId>
<version>1.0.ALL</version>
</dependency>
</dependencies>
gradle setup (build.gradle)
repositories {
maven { url "https://dl.bintray.com/daggerok/daggerok" }
}
dependencies {
compile "com.github.daggerok:kotlin-html-dsl:1.0.ALL"
}
or shorter, just pom.xml
<repositories>
<repository>
<id>bintray-daggerok</id>
<url>https://dl.bintray.com/daggerok/daggerok</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.github.daggerok</groupId>
<artifactId>kotlin-html-dsl</artifactId>
<version>1.0.ALL</version>
</dependency>
</dependencies>
maven setup (settings.xml)
<profiles>
<profile>
<repositories>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>bintray-daggerok-daggerok</id>
<name>bintray</name>
<url>https://dl.bintray.com/daggerok/daggerok</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>bintray-daggerok-daggerok</id>
<name>bintray-plugins</name>
<url>https://dl.bintray.com/daggerok/daggerok</url>
</pluginRepository>
</pluginRepositories>
<id>bintray</id>
</profile>
</profiles>
<activeProfiles>
<activeProfile>bintray</activeProfile>
</activeProfiles>
maven setup (pom.xml)
<dependency>
<groupId>com.github.daggerok</groupId>
<artifactId>kotlin-html-dsl</artifactId>
<version>1.0.ALL</version>
</dependency>
-
register on bintray.com
-
update gradle.properties
cp -Rf gradle.properties-default gradle.properties vi gradle.properties # ... bintrayUser=<change me: your bintray user> bintrayApiKey=<change me: your bintray api key>
-
publish to bintray
./gradlew -iS clean bintrayUpload
links: