Skip to content

Commit

Permalink
- old unused projects removed
Browse files Browse the repository at this point in the history
- all subprojects/modules now moved into single gradle project
- updated to gradle 7.1.1, AGP 7.0.0
- added necessary logic to support Android 11/targetSDKVersion 30
- provided resources-only APK for the skin building
  • Loading branch information
maxmpz committed Aug 8, 2021
1 parent c53e5db commit 21f5471
Show file tree
Hide file tree
Showing 448 changed files with 915 additions and 7,556 deletions.
9 changes: 6 additions & 3 deletions .gitignore
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
*.iml
.gradle/
local.properties
/bin
/gen
.DS_Store
.idea/
.DS_Store
build/
.externalNativeBuild
2 changes: 1 addition & 1 deletion poweramp_api_example/LICENSE.txt → LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (C) 2010-2020 Maksim Petrov
Copyright (C) 2010-2021 Maksim Petrov

Redistribution and use in source and binary forms, with or without
modification, are permitted for themes, skins, widgets, plugins, applications and other software
Expand Down
Binary file added Poweramp-build-910-resources.zip
Binary file not shown.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
Poweramp APIs
===========

* **Skin SDK**: [poweramp_skin_sdk/poweramp_skin_sample/readme.md](poweramp_skin_sdk/poweramp_skin_sample/readme.md)
* **Skin SDK**: [poweramp_skin_sample/readme.md](poweramp_skin_sample/readme.md)
* **Intent-based APIs**:
* **Sample Android App**: [poweramp_api_example/readme.md](poweramp_api_example/readme.md)
* **Tasker and Similar Apps Integration, Other Relevant Poweramp APIs**: [poweramp_api_lib/readme.md](poweramp_api_lib/readme.md)
* **Visualization Presets**: [poweramp_vis_presets_example/readme.md](poweramp_vis_presets_example/readme.md)
* **Track Providers**: [poweramp_provider_example/readme.md](poweramp_provider_example/readme.md)
* **Loadable DSP Plugins**: TBD
* **Album Art Loaders**: TBD
* **Lyrics Loaders**: TBD

Expand Down
9 changes: 3 additions & 6 deletions ...kin_sdk/poweramp_skin_sample/build.gradle → build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ buildscript {

repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.2'
classpath 'com.android.tools.build:gradle:7.0.0'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand All @@ -17,10 +17,7 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
maven {
url "https://maven.google.com"
}
mavenCentral()
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
android.enableJetifier=true
android.enableJetifier=false
android.useAndroidX=true
org.gradle.jvmargs=-Xmx1536m
# When configured, Gradle will run in incubating parallel mode.
Expand Down
File renamed without changes.
File renamed without changes.
11 changes: 0 additions & 11 deletions poweramp_api_example/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion poweramp_api_example/app/.gitignore

This file was deleted.

31 changes: 0 additions & 31 deletions poweramp_api_example/app/build.gradle

This file was deleted.

43 changes: 23 additions & 20 deletions poweramp_api_example/build.gradle
Original file line number Diff line number Diff line change
@@ -1,27 +1,30 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply plugin: 'com.android.application'

buildscript {

repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.2'

android {
compileSdkVersion 30
buildToolsVersion "31.0.0"

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
defaultConfig {
applicationId "com.maxmpz.poweramp.apiexample"
minSdkVersion 21
targetSdkVersion 30
versionCode 1
versionName "1.0"
}
}

allprojects {
repositories {
google()
jcenter()
buildTypes {
release {
minifyEnabled false
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}

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


dependencies {
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation project(':poweramp_api_lib')
}
6 changes: 0 additions & 6 deletions poweramp_api_example/gradle/wrapper/gradle-wrapper.properties

This file was deleted.

1 change: 0 additions & 1 deletion poweramp_api_example/poweramp_api_lib/.gitignore

This file was deleted.

31 changes: 0 additions & 31 deletions poweramp_api_example/poweramp_api_lib/build.gradle

This file was deleted.

21 changes: 0 additions & 21 deletions poweramp_api_example/poweramp_api_lib/proguard-rules.pro

This file was deleted.

File renamed without changes.
5 changes: 3 additions & 2 deletions poweramp_api_example/readme.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Poweramp Intent APIs Example
============================================

This is an example project that demonstrates Poweramp v2 and v3 Intent based APIs. These APIs are focused on simplicity: you can just
This is an example project that demonstrates Poweramp Intent based APIs. These APIs are focused on simplicity: you can just
throw a simple Intent to Poweramp to play something, command Poweramp to do something, or get some Poweramp state from the published Intents.
While being simple Intent APIs provide almost complete control over Poweramp.
While being simple the Intent APIs provide almost complete control over Poweramp.
The intents can be sent programmatically or by the automation apps.

Please see: [../poweramp_api_lib/readme.md](../poweramp_api_lib/readme.md) for details. Also see comments/doc-comments in Example project source files.

1 change: 0 additions & 1 deletion poweramp_api_example/settings.gradle

This file was deleted.

12 changes: 0 additions & 12 deletions poweramp_api_lib/.classpath

This file was deleted.

3 changes: 0 additions & 3 deletions poweramp_api_lib/.gitignore

This file was deleted.

48 changes: 0 additions & 48 deletions poweramp_api_lib/.project

This file was deleted.

1 change: 0 additions & 1 deletion poweramp_api_lib/.settings/.gitignore

This file was deleted.

7 changes: 0 additions & 7 deletions poweramp_api_lib/AndroidManifest.xml

This file was deleted.

17 changes: 0 additions & 17 deletions poweramp_api_lib/LICENSE.txt

This file was deleted.

29 changes: 29 additions & 0 deletions poweramp_api_lib/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
plugins {
id 'com.android.library'
}

android {
compileSdk 30
buildToolsVersion "31.0.0"

defaultConfig {
minSdk 21
targetSdk 30
targetSdkVersion 30
minSdkVersion 21
}

buildTypes {
release {
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
compileSdkVersion 30
}

dependencies {
api 'org.eclipse.jdt:org.eclipse.jdt.annotation:2.2.600'
}
Loading

0 comments on commit 21f5471

Please sign in to comment.