Skip to content

Commit 6434c58

Browse files
committed
build: replace Stub/stub placehold to %Stub%/%stub%
1 parent cc32374 commit 6434c58

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Stub
1+
# %Stub%
22

3-
[![License](https://img.shields.io/github/license/RedMadRobot/android-library-template?style=flat-square)][license]
3+
[![License](https://img.shields.io/github/license/RedMadRobot/%Stub%?style=flat-square)][license]
44

5-
Stub and no more spoilers.
5+
%Stub% and no more spoilers.
66

77
---
88
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
@@ -25,7 +25,7 @@ repositories {
2525
}
2626
2727
dependencies {
28-
implementation("com.redmadrobot.stub:stub:<version>")
28+
implementation("com.redmadrobot.%stub%:%stub%:<version>")
2929
}
3030
```
3131

buildSrc/src/main/kotlin/convention.publishing.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ mavenPublishing {
2121
// developer(id = "coolest id", name = "the best name", email = "awesome email")
2222
}
2323

24-
setGitHubProject("RedMadRobot/Stub")
24+
setGitHubProject("RedMadRobot/%Stub%")
2525
}
2626
}
2727

2828
publishing {
2929
repositories {
30-
if (isRunningOnCi) githubPackages("RedMadRobot/Stub")
30+
if (isRunningOnCi) githubPackages("RedMadRobot/%Stub%")
3131
}
3232
}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Project-wide Gradle settings.
2-
group=com.redmadrobot.stub
2+
group=com.redmadrobot.%stub%
33
version=1.0.0
44

55
# IDE (e.g. Android Studio) users:

release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ properties="gradle.properties"
1010
changelog="CHANGELOG.md"
1111
readme="README.md"
1212
files_to_update_version=("$properties" "$readme")
13-
github_repository_url="https://github.com/RedMadRobot/Stub"
13+
github_repository_url="https://github.com/RedMadRobot/%Stub%"
1414

1515
#region Utils
1616
function property {
@@ -59,7 +59,7 @@ done
5959
header_replacement=\
6060
"## [Unreleased]
6161
62-
### Stub
62+
### Changes
6363
6464
- *No changes*
6565

settings.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ dependencyResolutionManagement {
2020
}
2121
}
2222

23-
rootProject.name = "stub-root"
23+
rootProject.name = "%stub%-root"
2424

2525
include(
26-
"stub",
26+
"%stub%",
2727
)

stub/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44
convention.detekt
55
}
66

7-
description = "stub"
7+
description = "%stub%"
88

99
dependencies {
1010
api(kotlin("stdlib"))

stub/src/main/kotlin/Stub.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
package com.redmadrobot.stub
1+
package com.redmadrobot.%stub%
22

3-
public interface Stub
3+
public interface %Stub%

0 commit comments

Comments
 (0)