Skip to content

Commit

Permalink
Merge pull request #91 from cryptimeleon/develop
Browse files Browse the repository at this point in the history
craco version 3.0.1 release
  • Loading branch information
feidens authored Oct 14, 2021
2 parents 1b7ae23 + 2d839f7 commit a2ebeac
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tagget_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
with:
java-version: 1.8
- name: Publish to the Maven Central Repository
run: ./gradlew publish -PcheckoutIfCloned -Prelease
run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository -PcheckoutIfCloned -Prelease
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }}
Expand Down
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [3.0.1]

### Changed
- math version from 3.0.0 to 3.0.1

## [3.0.0]

### Added
Expand Down Expand Up @@ -43,7 +48,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

Initial release

[Unreleased]: https://github.com/cryptimeleon/craco/compare/v3.0.0...HEAD
[Unreleased]: https://github.com/cryptimeleon/craco/compare/v3.0.1...HEAD
[3.0.1]: https://github.com/cryptimeleon/craco/compare/v3.0.0...v3.0.1
[3.0.0]: https://github.com/cryptimeleon/craco/compare/v2.1.0...v3.0.0
[2.1.0]: https://github.com/cryptimeleon/craco/compare/v2.0.0...v2.1.0
[2.0.0]: https://github.com/cryptimeleon/craco/compare/v1.0.0...v2.0.0
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,15 @@ To add the newest Craco version as a dependency, add this to your project's POM:
<dependency>
<groupId>org.cryptimeleon</groupId>
<artifactId>craco</artifactId>
<version>3.0.0</version>
<version>3.0.1</version>
</dependency>
```

### Installation With Gradle

Craco is published via Maven Central.
Therefore, you need to add `mavenCentral()` to the `repositories` section of your project's `build.gradle` file.
Then, add `implementation group: 'org.cryptimeleon', name: 'craco', version: '3.0.0'` to the `dependencies` section of your `build.gradle` file.
Then, add `implementation group: 'org.cryptimeleon', name: 'craco', version: '3.0.1'` to the `dependencies` section of your `build.gradle` file.

For example:

Expand All @@ -84,7 +84,7 @@ repositories {
}
dependencies {
implementation group: 'org.cryptimeleon', name: 'craco', version: '3.0.0'
implementation group: 'org.cryptimeleon', name: 'craco', version: '3.0.1'
}
```

Expand Down
20 changes: 9 additions & 11 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ plugins {
id 'java-library'
id 'maven-publish'
id 'signing'
id "io.github.gradle-nexus.publish-plugin" version "1.1.0"
}

group = 'org.cryptimeleon'
archivesBaseName = project.name
boolean isRelease = project.hasProperty("release")
version = '3.0.0' + (isRelease ? "" : "-SNAPSHOT")
version = '3.0.1' + (isRelease ? "" : "-SNAPSHOT")


sourceCompatibility = 1.8
Expand All @@ -22,7 +23,7 @@ repositories {
mavenCentral()
}

def mathVersionNoSuffix = '3.0.0'
def mathVersionNoSuffix = '3.0.1'

dependencies {

Expand Down Expand Up @@ -178,18 +179,15 @@ publishing {
}
}
}
}

nexusPublishing {
repositories {
maven {
credentials {
username = System.getenv("OSSRH_USERNAME")
password = System.getenv("OSSRH_TOKEN")
}
name = 'OSSRH'
def releasesRepoUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2/'
url = version.endsWith('SNAPSHOT') ? '' : releasesRepoUrl
sonatype {
username = System.getenv("OSSRH_USERNAME")
password = System.getenv("OSSRH_TOKEN")
}
}

}

signing {
Expand Down

0 comments on commit a2ebeac

Please sign in to comment.