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

Commit d68909a

Browse files
committed
Update Gradle
1 parent 8836607 commit d68909a

File tree

5 files changed

+36
-3
lines changed

5 files changed

+36
-3
lines changed

CodeView/build.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
apply plugin: 'com.android.library'
22
apply plugin: 'kotlin-android'
3+
4+
ext {
5+
RELEASE_REPOSITORY_URL = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
6+
SNAPSHOT_REPOSITORY_URL = "https://s01.oss.sonatype.org/content/repositories/snapshots/"
7+
}
8+
9+
apply plugin: 'com.vanniktech.maven.publish' // NEW
310
apply from: file('publish.gradle')
411

512
android {

CodeView/publish.gradle

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

3-
def LIB_GROUP_ID = 'me.jackdevey.libraries'
3+
def LIB_GROUP_ID = 'me.jackdevey'
44
def LIB_ARTIFACT_ID = 'codeview'
55
def LIB_VERSION = '1.0.0'
66

build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ buildscript {
1111
classpath 'com.android.tools.build:gradle:7.0.0-alpha09'
1212
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.31"
1313

14+
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.13.0' // NEW
15+
classpath 'org.jetbrains.dokka:dokka-gradle-plugin:1.4.10.2' // NEW
16+
1417
// NOTE: Do not place your application dependencies here; they belong
1518
// in the individual module build.gradle files
1619
}

gradle.properties

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,26 @@
1717
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
1818
# org.gradle.parallel=true
1919
android.useAndroidX=true
20+
21+
GROUP=me.jackdevey.libraries
22+
POM_ARTIFACT_ID=codeview
23+
VERSION_NAME=1.0.0
24+
25+
POM_NAME=CodeView
26+
POM_PACKAGING=aar
27+
28+
POM_DESCRIPTION=CodeView library for android
29+
POM_INCEPTION_YEAR=2021
30+
31+
POM_URL=https://github.com/jackdevey/codeview
32+
POM_SCM_URL=https://github.com/jackdevey/codeview
33+
POM_SCM_CONNECTION=scm:[email protected]:jackdevey/codeview.git
34+
POM_SCM_DEV_CONNECTION=scm:[email protected]:jackdevey/codeview.git
35+
36+
POM_LICENCE_NAME=The Apache Software License, Version 2.0
37+
POM_LICENCE_URL=http://www.apache.org/licenses/LICENSE-2.0.txt
38+
POM_LICENCE_DIST=repo
39+
40+
POM_DEVELOPER_ID=jackdevey
41+
POM_DEVELOPER_NAME=Jack Devey
42+
POM_DEVELOPER_URL=https://github.com/jackdevey
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Thu Mar 11 20:02:07 GMT 2021
1+
#Sat Mar 13 16:39:34 GMT 2021
22
distributionBase=GRADLE_USER_HOME
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-milestone-3-bin.zip
44
distributionPath=wrapper/dists
55
zipStorePath=wrapper/dists
66
zipStoreBase=GRADLE_USER_HOME

0 commit comments

Comments
 (0)