forked from kscience/kmath
Build an readme update for 0.1.0-dev
This commit is contained in:
parent
bcc27ac0e0
commit
f77b7a4876
3
.gitignore
vendored
3
.gitignore
vendored
@ -8,4 +8,5 @@
|
|||||||
# Cache of project
|
# Cache of project
|
||||||
.gradletasknamecache
|
.gradletasknamecache
|
||||||
|
|
||||||
artifactory.gradle
|
gradle/artifactory.gradle
|
||||||
|
gradle/bintray.gradle
|
@ -60,13 +60,13 @@ repositories {
|
|||||||
Then use a regular dependency like so:
|
Then use a regular dependency like so:
|
||||||
|
|
||||||
```groovy
|
```groovy
|
||||||
compile(group: 'scientifik', name: 'kmath-core', version: '0.0.1-SNAPSHOT')
|
api "scientifik:kmath-core-jvm:0.1.0-dev"
|
||||||
```
|
```
|
||||||
|
|
||||||
or in the Gradle Kotlin DSL:
|
or in the Gradle Kotlin DSL:
|
||||||
|
|
||||||
```kotlin
|
```kotlin
|
||||||
compile(group = "scientifik", name = "kmath-core", version = "0.0.1-SNAPSHOT")
|
api("scientifik:kmath-core-jvm:0.1.0-dev")
|
||||||
```
|
```
|
||||||
|
|
||||||
Working builds can be obtained here: [![](https://jitpack.io/v/altavir/kmath.svg)](https://jitpack.io/#altavir/kmath).
|
Working builds can be obtained here: [![](https://jitpack.io/v/altavir/kmath.svg)](https://jitpack.io/#altavir/kmath).
|
||||||
|
@ -14,6 +14,7 @@ buildscript {
|
|||||||
dependencies {
|
dependencies {
|
||||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
|
||||||
classpath("org.jfrog.buildinfo:build-info-extractor-gradle:4+")
|
classpath("org.jfrog.buildinfo:build-info-extractor-gradle:4+")
|
||||||
|
classpath("com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -49,8 +50,28 @@ allprojects {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
extensions.findByType<PublishingExtension>()?.apply {
|
||||||
|
val javadocJar by tasks.creating(Jar::class) {
|
||||||
|
archiveClassifier.value("javadoc")
|
||||||
|
// TODO: instead of a single empty Javadoc JAR, generate real documentation for each module
|
||||||
}
|
}
|
||||||
|
|
||||||
if (file("artifactory.gradle").exists()) {
|
val sourcesJar by tasks.creating(Jar::class) {
|
||||||
apply(from = "artifactory.gradle")
|
archiveClassifier.value("sources")
|
||||||
|
}
|
||||||
|
|
||||||
|
repositories {
|
||||||
|
maven(uri("$buildDir/repo"))
|
||||||
|
}
|
||||||
|
publications.withType<MavenPublication>().all {
|
||||||
|
artifact(javadocJar)
|
||||||
|
artifact(sourcesJar)
|
||||||
|
}
|
||||||
|
//apply(from = "${rootProject.rootDir}/gradle/bintray.gradle")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (file("gradle/artifactory.gradle").exists()) {
|
||||||
|
apply(from = "gradle/artifactory.gradle")
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,7 @@ pluginManagement {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
enableFeaturePreview("GRADLE_METADATA")
|
//enableFeaturePreview("GRADLE_METADATA")
|
||||||
|
|
||||||
rootProject.name = "kmath"
|
rootProject.name = "kmath"
|
||||||
include(
|
include(
|
||||||
|
Loading…
Reference in New Issue
Block a user