Skip to content

Commit

Permalink
build: Release v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mricefox committed Nov 22, 2022
1 parent 73cb50c commit 91ef77c
Show file tree
Hide file tree
Showing 7 changed files with 65 additions and 50 deletions.
11 changes: 0 additions & 11 deletions Android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,8 @@ allprojects {
jcenter()
mavenCentral()
}

nexusAuth().with { auth ->
ext.NEXUS_USERNAME = auth[0]
ext.NEXUS_PASSWORD = auth[1]
}
}

task clean(type: Delete) {
delete rootProject.buildDir
}

def nexusAuth() {
Properties properties = new Properties()
rootProject.file('local.properties').withDataInputStream { properties.load(it) }
return [properties.getProperty('nexusUsername'), properties.getProperty('nexusPassword')]
}
4 changes: 2 additions & 2 deletions Android/glog/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ afterEvaluate {
name = 'sonatype'
url = RELEASE_REPOSITORY_URL
credentials {
password = OSSRH_PASSWORD
username = OSSRH_USER_NAME
password = project.hasProperty('OSSRH_PASSWORD') ? OSSRH_PASSWORD : ""
username = project.hasProperty('OSSRH_USER_NAME') ? OSSRH_USER_NAME : ""
}
}
}
Expand Down
25 changes: 0 additions & 25 deletions Glog.podspec

This file was deleted.

17 changes: 9 additions & 8 deletions GlogCore.podspec
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
Pod::Spec.new do |s|

s.name = "GlogCore"
s.version = "0.0.1"
s.summary = "GlogCore"
s.author = { '货拉拉' => '货拉拉' }
s.version = "1.0.0"
s.summary = "Glog is a cross platform high-performance log storage framework developed by Huolala."
s.author = { 'issac.zeng' => '[email protected]' }

s.description = <<-DESC
Glog
The Glog for Objective-C.
Glog is a format free, cross platform, high performance log storage framework.
DESC

s.homepage = "https://xxx.com"
s.license = { :type => "Apache", :file => "LICENSE.TXT"}
s.homepage = "https://github.com/HuolalaTech/hll-wp-glog"
s.license = { :type => "Apache 2.0", :file => "LICENSE.TXT"}

s.ios.deployment_target = "9.0"

s.source = { :git => "", :tag => "#{s.version}" }
s.source_files = "Core/**/*.{h,m,mm,cpp}"
s.source = { :git => "https://github.com/HuolalaTech/hll-wp-glog.git", :tag => "v#{s.version}" }
s.source_files = "Core/**/*.{h,m,mm,cpp,hpp}", "Core/micro-ecc/*.{h,cpp,inc}", "Core/openssl/*.{h,S,cpp}"
s.public_header_files = "Core/**/*.h"
s.framework = "CoreFoundation"
s.libraries = "z", "c++"
Expand Down
26 changes: 26 additions & 0 deletions Huolala-Glog.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
Pod::Spec.new do |s|

s.name = "Huolala-Glog"
s.version = "1.0.0"
s.summary = "Glog is a cross platform high-performance log storage framework developed by Huolala."
s.author = { 'issac.zeng' => '[email protected]' }

s.description = <<-DESC
The Glog for Objective-C.
Glog is a format free, cross platform, high performance log storage framework.
DESC

s.homepage = "https://github.com/HuolalaTech/hll-wp-glog"
s.license = { :type => "Apache 2.0", :file => "LICENSE.TXT"}

s.ios.deployment_target = "9.0"

s.source = { :git => "https://github.com/HuolalaTech/hll-wp-glog.git", :tag => "v#{s.version}" }
s.source_files = "iOS/Glog/Glog/*.{h,m,mm}"
s.public_header_files = "iOS/Glog/Glog/*.h"

s.framework = "CoreFoundation"
s.libraries = "z", "c++"
s.dependency 'GlogCore', '~> 1.0.0'
end

16 changes: 14 additions & 2 deletions README-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/HuolalaTech/Glog/pulls)
[![Multi Platform](https://img.shields.io/badge/platform-android%20%7C%20ios-lightgrey)](https://github.com/HuolalaTech/Glog/wiki)

> [ENGLISH](https://github.com/huolalatech/glog)
> [ENGLISH](https://github.com/huolalatech/hll-wp-glog) |
> [原理介绍](https://juejin.cn/post/7168662263337861133/)
---

Expand Down Expand Up @@ -62,9 +63,20 @@ Glog 采用了以下技术实现
### Android

#### 引入
最新版本参考 [Maven Central](https://search.maven.org/artifact/cn.huolala.glog.android/glog-android-static/1.0.0/aar)

```groovy
allprojects {
repositories {
mavenCentral()
}
}
```

```groovy
dependencies {
implementation "glog.android:glog-android-static:$glog_version"
implementation "cn.huolala.glog.android:glog-android-static:1.0.0"
// implementation "cn.huolala.glog.android:glog-android-shared:1.0.0"
}
```

Expand Down
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/HuolalaTech/Glog/pulls)
[![Multi Platform](https://img.shields.io/badge/platform-android%20%7C%20ios-lightgrey)](https://github.com/HuolalaTech/Glog/wiki)

> [中文文档](https://github.com/huolalatech/glog/blob/master/README-zh.md)
> [中文文档](https://github.com/huolalatech/hll-wp-glog/blob/master/README-zh.md) |
> [Introduction](https://juejin.cn/post/7168662263337861133/)
---

Expand Down Expand Up @@ -62,9 +63,20 @@ Technical implementation
### Android

#### IMPORT
The latest release is available on [Maven Central](https://search.maven.org/artifact/cn.huolala.glog.android/glog-android-static/1.0.0/aar).

```groovy
allprojects {
repositories {
mavenCentral()
}
}
```

```groovy
dependencies {
implementation "glog.android:glog-android-static:$glog_version"
implementation "cn.huolala.glog.android:glog-android-static:1.0.0"
// implementation "cn.huolala.glog.android:glog-android-shared:1.0.0"
}
```

Expand Down

0 comments on commit 91ef77c

Please sign in to comment.