Skip to content

Commit 2767f84

Browse files
authored
use Releaser v2 config + newer CI images (#12)
1 parent aef630b commit 2767f84

File tree

6 files changed

+13
-32
lines changed

6 files changed

+13
-32
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ workflows:
1313
jobs:
1414
build-test-linux:
1515
docker:
16-
- image: circleci/java
16+
- image: cimg/openjdk:8.0
1717
- image: amazon/dynamodb-local
1818
steps:
1919
- checkout

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Eclipse project files
22
.classpath
33
.project
4-
4+
.settings
5+
56
# Intellij project files
67
*.iml
78
*.ipr

.ldrelease/config.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
version: 2
12

2-
releasableBranches:
3+
branches:
34
- name: master
45
description: 3.x - for Java SDK 5.0+, uses AWS 2.x
56
- name: 2.x
@@ -13,10 +14,13 @@ publications:
1314
- url: https://javadoc.io/doc/com.launchdarkly/launchdarkly-java-server-sdk-dynamodb-store
1415
description: documentation (javadoc.io)
1516

16-
template:
17-
name: gradle
18-
skip:
19-
- test # Running the unit tests would require installing DynamoDB. They've already been run in CI.
17+
jobs:
18+
- docker:
19+
image: gradle:6.8.3-jdk11
20+
template:
21+
name: gradle
22+
skip:
23+
- test # Running the unit tests would require installing DynamoDB. They've already been run in CI.
2024

2125
documentation:
22-
githubPages: true
26+
gitHubPages: true

.ldrelease/publish-docs.sh

Lines changed: 0 additions & 7 deletions
This file was deleted.

.ldrelease/publish.sh

Lines changed: 0 additions & 7 deletions
This file was deleted.

build.gradle

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ plugins {
1414
id "maven-publish"
1515
id "de.marcphilipp.nexus-publish" version "0.3.0"
1616
id "io.codearte.nexus-staging" version "0.21.2"
17-
id "org.ajoberstar.git-publish" version "2.1.3"
1817
id "idea"
1918
}
2019

@@ -149,12 +148,3 @@ signing {
149148
tasks.withType(Sign) {
150149
onlyIf { !"1".equals(project.findProperty("LD_SKIP_SIGNING")) } // so we can build jars for testing in CI
151150
}
152-
153-
gitPublish {
154-
repoUri = 'git@github.com:launchdarkly/java-server-sdk-dynamodb.git'
155-
branch = 'gh-pages'
156-
contents {
157-
from javadoc
158-
}
159-
commitMessage = 'publishing javadocs'
160-
}

0 commit comments

Comments
 (0)