Skip to content
This repository was archived by the owner on Apr 19, 2022. It is now read-only.

Commit ec2de28

Browse files
committed
🎨 Changed background colour & font + Update to 1.0.4
1 parent 8b2ad00 commit ec2de28

File tree

7 files changed

+11
-9
lines changed

7 files changed

+11
-9
lines changed

β€ŽCodeView/build.gradleβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ android {
1515
defaultConfig {
1616
minSdkVersion 15
1717
targetSdkVersion 30
18-
versionCode 7
19-
versionName "1.0.2"
18+
versionCode 8
19+
versionName "1.0.4"
2020
}
2121

2222
buildFeatures {

β€ŽCodeView/publish.gradleβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin: 'maven-publish'
22

33
def LIB_GROUP_ID = 'me.jackdevey'
44
def LIB_ARTIFACT_ID = 'codeview'
5-
def LIB_VERSION = '1.0.3'
5+
def LIB_VERSION = '1.0.4'
66

77
task sourceJar(type: Jar) {
88
from android.sourceSets.main.java.srcDirs

β€ŽCodeView/src/main/res/layout/line.xmlβ€Ž

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
android:layout_width="match_parent"
2121
android:layout_height="match_parent"
2222
android:padding="5dp"
23+
android:background="@color/white"
2324
android:textColor="?android:attr/textColorPrimary"
24-
android:textSize="12sp" />
25+
android:textSize="12sp"
26+
android:fontFamily="@font/roboto"/>
2527

2628
</LinearLayout>

β€ŽREADME.mdβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,12 @@ You can customise the CodeView to make sure that it fits with the theme of your
4747
| numberLines | Boolean | Number each line | true | βœ” |
4848
| backgroundColour | Color | The colour of the background | GREY | ❌ |
4949

50-
51-
5250
## License
5351
This library is licensed under the [Apache Software License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0).
5452

5553
See [`LICENSE`](LICENSE) for full of the license text.
5654

55+
```
5756
Licensed under the Apache License, Version 2.0 (the "License");
5857
you may not use this file except in compliance with the License.
5958
You may obtain a copy of the License at
@@ -65,3 +64,4 @@ See [`LICENSE`](LICENSE) for full of the license text.
6564
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
6665
See the License for the specific language governing permissions and
6766
limitations under the License.
67+
```

β€Žbuild.gradleβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ buildscript {
99
}
1010

1111
dependencies {
12-
classpath 'com.android.tools.build:gradle:7.0.0-alpha09'
12+
classpath 'com.android.tools.build:gradle:7.0.0-alpha12'
1313
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.31"
1414

1515
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.14.2' // NEW

β€Žgradle.propertiesβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ android.useAndroidX=true
2020

2121
GROUP=me.jackdevey
2222
POM_ARTIFACT_ID=codeview
23-
VERSION_NAME=1.0.3
23+
VERSION_NAME=1.0.4
2424

2525
POM_NAME=CodeView
2626
POM_PACKAGING=aar

β€Žpom.xmlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>me.jackdevey.codeview</groupId>
55
<artifactId>codeview</artifactId>
6-
<version>1.0.0</version>
6+
<version>1.0.4</version>
77
<packaging>jar</packaging>
88
<dependencies>
99
<dependency>

0 commit comments

Comments
Β (0)