Skip to content

Commit 425b9eb

Browse files
committed
Adapt to new gradle wrapper name
1 parent 3b535d2 commit 425b9eb

5 files changed

Lines changed: 10 additions & 12 deletions

File tree

.github/CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ The following are a few guidelines on how we suggest you start.
7878
- EditorConfig by JetBrains (might be already activated)
7979
- Spek Framework by Spek Team
8080
3. Import the project (import the build.gradle -> import as project, works more reliably)
81-
4. Open up a terminal (e.g. Intellij's built in -> usually ALT+F12) and run `./gr build`
82-
This builds the project (compile, run tests etc) via gradle (notice, we renamed `gradlew` to `gr`, more convenient no?)
81+
4. Open up a terminal (e.g. Intellij's built in -> usually ALT+F12) and run `./gradlew build`
82+
This builds the project (compile, run tests etc) via gradle
8383
5. Read up the [Coding Conventions of Atrium](#coding-conventions) (there are only 5 points).
8484

8585
Note: IntelliJ requires a few workarounds.

.github/workflows/java-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
with:
1818
java-version: ${{ matrix.java_version }}
1919
- name: Build buildNonDeprecatedJvm
20-
run: ./gr buildNonDeprecatedJvm
20+
run: ./gradlew buildNonDeprecatedJvm
2121

2222
- name: build sample atrium+spek project
2323
run: samples\jvm\spek\gradlew -p samples\jvm\spek build

.travis.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,30 +4,28 @@ language: java
44
jdk:
55
- openjdk11
66

7-
before_install: chmod +x gr
8-
97
install: skip
108

119
jobs:
1210
include:
1311
- env: MODE=current_11
14-
script: ./gr buildAllWithoutJs
12+
script: ./gradlew buildAllWithoutJs
1513
after_success: bash <(curl -s https://codecov.io/bash) -F current
1614

1715
- env: MODE=current_8
1816
jdk: oraclejdk8
19-
script: ./gr buildNonDeprecatedJvm buildAllAndroid
17+
script: ./gradlew buildNonDeprecatedJvm buildAllAndroid
2018
after_success: bash <(curl -s https://codecov.io/bash) -F current
2119

2220
- env: MODE=js
23-
script: ./gr buildAllJs
21+
script: ./gradlew buildAllJs
2422

2523
- env: MODE=bbc
26-
script: ./gr bbcTests
24+
script: ./gradlew bbcTests
2725
after_success: bash <(curl -s https://codecov.io/bash) -F bbc
2826

2927
- env: MODE=bc
30-
script: ./gr bcTests
28+
script: ./gradlew bcTests
3129
after_success: bash <(curl -s https://codecov.io/bash) -F bc
3230

3331
- env: MODE=samples

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ Release & deploy a commit
532532
d) commit & push changes
533533
4. deploy to bintray:
534534
// CI=true is a temporary work around till https://youtrack.jetbrains.com/issue/KT-29069 is fixed:
535-
a) java -version 2>&1 | grep "version \"9" && CI=true ./gr clean publishToBintray
535+
a) java -version 2>&1 | grep "version \"9" && CI=true ./gradlew clean publishToBintray
536536
b) Log in to bintray, check that there are 926 artifacts and publish them
537537
c) synchronise to maven central
538538
5. create release on github

samples/readme-examples/src/main/kotlin/readme/examples/ReadmeSpec.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import java.util.*
3232
* The tests and error message are written here and automatically placed into the README via generation.
3333
* The generation is done during the project built. To trigger it manually, you have to use:
3434
* ```
35-
* ./gr :readme-examples:build
35+
* ./gradlew :readme-examples:build
3636
* ```
3737
*
3838
* There are currently three kind of tags supported:

0 commit comments

Comments
 (0)